This repository was archived by the owner on Jul 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ apply plugin: 'com.android.application'
66apply from : " $project . rootDir /tools/gradle/versionCode.gradle"
77apply plugin : ' kotlin-android'
88apply plugin : ' kotlin-android-extensions'
9+ apply plugin : " org.mozilla.telemetry.glean-gradle-plugin"
910
1011def getGitHash = { ->
1112 def stdout = new ByteArrayOutputStream ()
@@ -37,10 +38,9 @@ def getUseDebugSigningOnRelease = { ->
3738 return false
3839}
3940
40- // Generate markdown docs for the collected metrics.
41+ // Glean: Generate markdown docs for the collected metrics.
4142ext. gleanGenerateMarkdownDocs = true
4243ext. gleanDocsDirectory = " $rootDir /docs"
43- apply from : ' https://github.com/mozilla-mobile/android-components/raw/v' + deps. android_components_version + ' /components/service/glean/scripts/sdk_generator.gradle'
4444
4545android {
4646 compileSdkVersion build_versions. target_sdk
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ buildscript {
55 addRepos(repositories)
66 dependencies {
77 classpath ' com.android.tools.build:gradle:3.4.2'
8+ classpath " org.mozilla.telemetry:glean-gradle-plugin:$versions . android_components "
89 classpath " $deps . kotlin . plugin "
910
1011 // NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ versions.kotlin = "1.3.31"
5050versions. kotlin_coroutines = " 1.2.1"
5151versions. snakeyaml = " 1.24"
5252versions. gson = " 2.8.5"
53+ ext. versions = versions
5354def deps = [:]
5455
5556def gecko_view = [:]
You can’t perform that action at this time.
0 commit comments