Skip to content

Commit f680475

Browse files
committed
Migrated wordPressAztec to Version Catalog
1 parent 24373ca commit f680475

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ ext {
2727
// libs
2828
automatticTracksVersion = '5.1.0'
2929
gutenbergMobileVersion = 'v1.121.0-alpha1'
30-
wordPressAztecVersion = 'v2.1.3'
3130
wordPressFluxCVersion = 'trunk-c670e916346bdaa2379936dd8dbb6750766ca319'
32-
// wordPressLoginVersion = '1.16.0'
3331
}
3432

3533
measureBuilds {

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ violationComments = '1.70.0'
8181
volley = '1.2.1'
8282
wiremock = '2.26.3'
8383
wiremockHttpClient = '4.3.5.1'
84+
wordPressAztec = 'v2.1.3'
8485
wordPressLint = '2.1.0'
8586
wordPressLogin = '1.16.0'
8687
wordPressPersistentEditText = '1.0.2'

libs/editor/build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,21 @@ dependencies {
6666
exclude group: "com.android.volley"
6767
exclude group: 'org.wordpress', module: 'utils'
6868
version {
69-
strictly wordPressAztecVersion
69+
strictly libs.versions.wordPressAztec.get()
7070
}
7171
}
72-
api ("$gradle.ext.aztecAndroidWordPressShortcodesPath:$wordPressAztecVersion") {
72+
// TODO: Migrate from composite build path modules to version catalogs (libs.version.toml).
73+
// noinspection UseTomlInstead
74+
api ("$gradle.ext.aztecAndroidWordPressShortcodesPath:${libs.versions.wordPressAztec.get()}") {
7375
version {
74-
strictly wordPressAztecVersion
76+
strictly libs.versions.wordPressAztec.get()
7577
}
7678
}
77-
api ("$gradle.ext.aztecAndroidWordPressCommentsPath:$wordPressAztecVersion") {
79+
// TODO: Migrate from composite build path modules to version catalogs (libs.version.toml).
80+
// noinspection UseTomlInstead
81+
api ("$gradle.ext.aztecAndroidWordPressCommentsPath:${libs.versions.wordPressAztec.get()}") {
7882
version {
79-
strictly wordPressAztecVersion
83+
strictly libs.versions.wordPressAztec.get()
8084
}
8185
}
8286

0 commit comments

Comments
 (0)