diff --git a/OsmAnd-api/build.gradle b/OsmAnd-api/build.gradle index e534315926..8e0a290a49 100644 --- a/OsmAnd-api/build.gradle +++ b/OsmAnd-api/build.gradle @@ -2,8 +2,6 @@ apply plugin: 'com.android.library' apply plugin: 'ivy-publish' apply plugin: 'com.github.dcendents.android-maven' -group = 'com.github.osmandapp.osmand' -version = '2.0.0' android { compileSdkVersion 28 @@ -27,6 +25,27 @@ android { } } +afterEvaluate { + publishing { + publications { + release(IvyPublication) { + // Applies the component for the release build variant. + from components.release + groupId = 'net.osmand' + artifactId = 'android-aidl-lib' + version = 'master-snapshot' + } + debug(IvyPublication) { + // Applies the component for the release build variant. + from components.debug + groupId = 'net.osmand' + artifactId = 'android-aidl-lib' + version = 'master-snapshot' + } + } + } +} + dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:support-annotations:28.0.0' diff --git a/OsmAnd/build.gradle.lib b/OsmAnd/build.gradle.lib index 6b0f4da990..f71d4a76a0 100644 --- a/OsmAnd/build.gradle.lib +++ b/OsmAnd/build.gradle.lib @@ -342,7 +342,6 @@ project.afterEvaluate { publishing { repositories { ivy { - url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./" version = "0.1-SNAPSHOT" } }