Skip to content

Commit 5a70f8b

Browse files
authored
Move plugins to RefreshVersions (#5016)
Task/Issue URL: https://app.asana.com/0/1207908166761516/1208315099637999/f ### Description Moves our plugins to refreshVersions so that they will be updated when the `refreshVersions` task is run. As part of this moved all but the AGP plugin to the plugins block. Not quite sure why that one didn’t want to work but don’t want to spend too much time on it, it’s still part of RefreshVersions. I did not update the plugins as part of this PR. ### Steps to test this PR _Feature 1_ - [ ] Check the plugin versions in `versions.properties` match the previous versions - [ ] Run `./gradlew refreshVersions` and check the plugins get update comments (if they have an update of course) - [ ] Sync, build & run should be successful ### UI changes N/A ### Screenshot of the changes working <img width="702" alt="Screenshot 2024-09-17 at 11 19 50" src="https://github.com/user-attachments/assets/9bde859d-95d0-4cc4-a368-caec1960cd70">
1 parent cd35320 commit 5a70f8b

File tree

46 files changed

+84
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+84
-63
lines changed

ad-click/ad-click-impl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
2020
id 'com.squareup.anvil'
21-
id 'com.google.devtools.ksp' version "$ksp_version"
21+
id 'com.google.devtools.ksp'
2222
}
2323

2424
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

anrs/anrs-internal/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
2020
id 'com.squareup.anvil'
21-
id 'com.google.devtools.ksp' version "$ksp_version"
21+
id 'com.google.devtools.ksp'
2222
}
2323

2424
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

anrs/anrs-store/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
20-
id 'com.google.devtools.ksp' version "$ksp_version"
20+
id 'com.google.devtools.ksp'
2121
}
2222

2323
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

anvil/anvil-compiler/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
import static de.fayard.refreshVersions.core.Versions.versionFor
1617

1718
plugins {
1819
id 'java-library'
1920
id 'kotlin'
20-
id 'com.google.devtools.ksp' version "$ksp_version"
21+
id 'com.google.devtools.ksp'
2122
}
2223

2324
apply from: "$rootProject.projectDir/code-formatting.gradle"
@@ -34,8 +35,9 @@ kotlin {
3435
dependencies {
3536
implementation project(path: ':anvil-annotations')
3637

37-
api "com.squareup.anvil:compiler-api:${anvil_version}"
38-
implementation("com.squareup.anvil:compiler-utils:${anvil_version}")
38+
def anvil_version = versionFor(project, "plugin.com.squareup.anvil")
39+
api "com.squareup.anvil:compiler-api:$anvil_version"
40+
implementation("com.squareup.anvil:compiler-utils:$anvil_version")
3941
implementation("com.squareup:kotlinpoet:1.11.0")
4042
implementation Google.dagger
4143
implementation project(":feature-toggles-api")

app-store/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
20-
id 'com.google.devtools.ksp' version "$ksp_version"
20+
id 'com.google.devtools.ksp'
2121
}
2222

2323
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

app-tracking-protection/vpn-store/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
20-
id 'com.google.devtools.ksp' version "$ksp_version"
20+
id 'com.google.devtools.ksp'
2121
}
2222

2323
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

app/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33

44
id 'kotlin-android'
55
id 'kotlin-kapt'
6-
id 'com.google.devtools.ksp' version "$ksp_version"
6+
id 'com.google.devtools.ksp'
77
id 'com.squareup.anvil'
88
}
99
apply from: '../versioning.gradle'
@@ -474,6 +474,9 @@ dependencies {
474474
internalImplementation "com.facebook.flipper:flipper:_"
475475
internalImplementation "com.facebook.soloader:soloader:_"
476476

477+
internalImplementation "com.github.YarikSOffice.Venom:venom:_"
478+
playImplementation "com.github.YarikSOffice.Venom:venom-no-op:_"
479+
477480
// Testing dependencies
478481
androidTestUtil AndroidX.test.orchestrator
479482
androidTestImplementation AndroidX.archCore.testing

autoconsent/autoconsent-impl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
2020
id 'com.squareup.anvil'
21-
id 'com.google.devtools.ksp' version "$ksp_version"
21+
id 'com.google.devtools.ksp'
2222
}
2323

2424
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

autofill/autofill-store/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4-
id 'com.google.devtools.ksp' version "$ksp_version"
4+
id 'com.google.devtools.ksp'
55
}
66

77
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

breakage-reporting/breakage-reporting-impl/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ plugins {
1818
id 'com.android.library'
1919
id 'kotlin-android'
2020
id 'com.squareup.anvil'
21-
id 'com.google.devtools.ksp' version "$ksp_version"
21+
id 'com.google.devtools.ksp'
2222
}
2323

2424
apply from: "$rootProject.projectDir/gradle/android-library.gradle"

0 commit comments

Comments
 (0)