Skip to content

Commit 35a30b1

Browse files
committed
Migrated wordPressAztec to Version Catalog
1 parent ea6c0fd commit 35a30b1

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ ext {
2727
// libs
2828
automatticTracksVersion = '5.1.0'
2929
gutenbergMobileVersion = 'v1.120.1'
30-
wordPressAztecVersion = 'v2.1.3'
3130
wordPressFluxCVersion = 'trunk-79f2bc35285748c715e00f2a6648ed6831632178'
3231
}
3332

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)