From 90cbcaebc7a89f4f771f733a33ac9f389df85be2 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 19 Jul 2019 14:13:49 +0200 Subject: [PATCH] smack-android/build.gradle: Use 'implementation' for smack-xmlparser-xpp3 which is the probably the better choice here anyway. And it also prevents the following failure on POM creation: $ gradle uploadArchives > Task :smack-android:uploadArchives FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':smack-android:uploadArchives'. > Could not publish configuration 'archives' > Could not write to file '/home/flo/data/code/smack/smack-android/build/poms/pom-default.xml'. See also https://discuss.gradle.org/t/gradle-fails-to-create-pom-with-the-configuration-to-scope-mapping-is-not-unique/32087 --- smack-android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-android/build.gradle b/smack-android/build.gradle index 46827c09f..97fd7c120 100644 --- a/smack-android/build.gradle +++ b/smack-android/build.gradle @@ -7,7 +7,7 @@ smack-extensions and smack-experimental.""" // Note that the test dependencies (junit, …) are inferred from the // sourceSet.test of the core subproject dependencies { - api project(':smack-xmlparser-xpp3') + implementation project(':smack-xmlparser-xpp3') // Depend on minidns-android21 as optional dependency, even if may // not need it. Can't hurt to have it in the programm path with // the correct MiniDNS version as it won't hurt even if the