Skip to content

Commit

Permalink
Add rs.wordpress.api:android dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkocer committed Aug 7, 2024
1 parent 8fc19bf commit fe4572f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ repositories {
includeGroup "com.automattic"
includeGroup "com.automattic.tracks"
includeGroup "com.gravatar"
includeGroup "rs.wordpress.api"
}
}
maven {
Expand Down Expand Up @@ -477,6 +478,14 @@ dependencies {
implementation "com.google.dagger:hilt-android:$gradle.ext.daggerVersion"
ksp "com.google.dagger:hilt-compiler:$gradle.ext.daggerVersion"

implementation("rs.wordpress.api:android:$wordPressRsVersion") {
exclude group: "net.java.dev.jna"
}
// TODO: 'rs.wordpress.api:android' should include the correct JNA in its next version. Once
// it does, remove this dependency and the `exclude group: "net.java.dev.jna"` from
// 'rs.wordpress.api:android' dependency above.
implementation 'net.java.dev.jna:jna:5.14.0@aar'

testImplementation("androidx.arch.core:core-testing:$androidxArchCoreVersion", {
exclude group: 'com.android.support', module: 'support-compat'
exclude group: 'com.android.support', module: 'support-annotations'
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ext {
wordPressFluxCVersion = 'trunk-94d25d35fb4bf58a2e90741a6a5d56b8c6c3ce42'
wordPressLoginVersion = '1.16.0'
wordPressPersistentEditTextVersion = '1.0.2'
wordPressRsVersion = '0.1.0'
wordPressUtilsVersion = '3.14.0'
indexosMediaForMobileVersion = '43a9026f0973a2f0a74fa813132f6a16f7499c3a'
gravatarVersion = '1.0.0'
Expand Down

0 comments on commit fe4572f

Please sign in to comment.