Update library

This commit is contained in:
Victor Shcherb 2021-01-15 13:57:57 +01:00
parent 01fae3a6f5
commit 96af1a7c1e
2 changed files with 21 additions and 3 deletions

View file

@ -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'

View file

@ -342,7 +342,6 @@ project.afterEvaluate {
publishing {
repositories {
ivy {
url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./"
version = "0.1-SNAPSHOT"
}
}