Skip to content

Commit

Permalink
Use patched Glean Gradle plugin to fix Windows build issues
Browse files Browse the repository at this point in the history
The plugin has a single small change:
mozilla/glean@1c95771
  • Loading branch information
badboy authored and mergify[bot] committed Jun 20, 2022
1 parent 99c8dab commit 8bda73a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ object Versions {
const val mozilla_appservices = "93.5.0"

const val mozilla_glean = "50.1.0"
// FIXME(bug 1775073): Hack to deploy a tiny bug fix without requiring a full Glean update
// Will be removed with the next update again.
const val mozilla_glean_plugin = "50.1.1"

const val material = "1.2.1"

Expand Down
2 changes: 1 addition & 1 deletion components/browser/engine-gecko/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/lib/crash/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/support/migration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/support/sync-telemetry/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/tooling/glean-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
dependencies {
implementation gradleApi()
implementation localGroovy()
implementation "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
implementation "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}

Expand Down
2 changes: 1 addition & 1 deletion samples/glean/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion samples/glean/samples-glean-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}

dependencies {
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean}"
classpath "org.mozilla.telemetry:glean-gradle-plugin:${Versions.mozilla_glean_plugin}"
}
}
}
Expand Down

0 comments on commit 8bda73a

Please sign in to comment.