This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"environment": { | |
"cpuCount": "8", | |
"osVersion": "Mac OS X-10.15.3", | |
"maxWorkers": "4", | |
"javaVmName": "1.8.0_232-b09", | |
"javaXmxBytes": "8589934592", | |
"totalRamAvailableBytes": "4825534464", | |
"locale": "en", | |
"username": "svyatoslav.chatchenk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.cdsap.talaiot.metrics.GitBranchMetric | |
import com.github.mydogtom.talaiot.ProjectFolderMetric | |
import com.github.mydogtom.talaiot.AndroidStudioMetric | |
talaiot { | |
metrics.default() | |
metrics.performance() | |
metrics.metrics.add(new GitBranchMetric()) | |
metrics.metrics.add(new ProjectFolderMetric()) | |
metrics.metrics.add(new AndroidStudioMetric()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProjectFolderMetric : GradleMetric<String>( | |
provider = { it.rootDir.absolutePath }, | |
assigner = { report, value -> report.customProperties.buildProperties["projectFolder"] = value } | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private const val KEY_ANDROID_STUDIO = "android.injected.invoked.from.ide" | |
class AndroidStudioMetric : GradleMetric<String>( | |
provider = { it.gradle.rootProject.hasProperty(KEY_ANDROID_STUDIO).toString() }, | |
assigner = { report, value -> | |
report.customProperties.buildProperties["fromAndroidStudio"] = value | |
} | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'org.jetbrains.kotlin.jvm' version '1.3.70' | |
} | |
repositories { | |
maven { url "https://plugins.gradle.org/m2/" } | |
jcenter() | |
mavenLocal() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"environment": { | |
"cpuCount": "8", | |
"osVersion": "Mac OS X-10.15.3", | |
"maxWorkers": "4", | |
"javaVmName": "1.8.0_232-b09", | |
"javaXmxBytes": "8589934592", | |
"totalRamAvailableBytes": "4703252480", | |
"locale": "en", | |
"username": "svyatoslav.chatchenk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
talaiot { | |
metrics.default() | |
metrics.performance() | |
metrics.metrics.add(new GitBranchMetric()) | |
publishers { | |
jsonPublisher = true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"environment": { | |
"cpuCount": "8", | |
"osVersion": "Mac OS X-10.15.3", | |
"maxWorkers": "4", | |
"javaVmName": "1.8.0_232-b09", | |
"javaXmxBytes": "8589934592", | |
"totalRamAvailableBytes": "4218392576", | |
"locale": "en", | |
"username": "svyatoslav.chatchenk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.cdsap.talaiot' | |
talaiot { | |
publishers { | |
jsonPublisher = true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LoadingView extends RelativeLayout { | |
public LoadingView(Context context) { | |
super(context); | |
} | |
public LoadingView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
} | |
public LoadingView(Context context, AttributeSet attrs, int defStyle) { |
NewerOlder