Skip to content

Commit

Permalink
Resolve publish build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
npurushe committed Jun 10, 2022
1 parent c56405a commit 0d8cad2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sqlite-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = 'Android SQLite compatibility library'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
ndkVersion '22.1.7171670'
ndkVersion '24.0.8215888'

defaultConfig {
minSdkVersion 14
Expand Down Expand Up @@ -132,9 +132,11 @@ publishing {
groupId project.group
artifactId project.name
version project.version
artifact "build/outputs/aar/${project.name}-release.aar"
artifact sourceJar
artifact javadocJar
afterEvaluate {
artifact bundleReleaseAar
artifact sourceJar
artifact javadocJar
}
pom.withXml {
asNode().children().last() + project.pomXml
def dependencies = asNode().appendNode('dependencies')
Expand All @@ -149,5 +151,3 @@ publishing {
}
}
}

publish.dependsOn "assembleRelease"

0 comments on commit 0d8cad2

Please sign in to comment.