From 0d8cad236223c079de7a705b6b10b4d2168b81bb Mon Sep 17 00:00:00 2001 From: Nikhil Purushe Date: Fri, 10 Jun 2022 01:50:18 -0700 Subject: [PATCH] Resolve publish build dependency --- sqlite-android/build.gradle | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sqlite-android/build.gradle b/sqlite-android/build.gradle index a73025c2..ae042694 100644 --- a/sqlite-android/build.gradle +++ b/sqlite-android/build.gradle @@ -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 @@ -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') @@ -149,5 +151,3 @@ publishing { } } } - -publish.dependsOn "assembleRelease"