2019-10-04 14:41:45 +02:00
|
|
|
apply plugin: 'com.android.library'
|
2019-10-11 10:25:44 +02:00
|
|
|
apply plugin: 'com.github.dcendents.android-maven'
|
|
|
|
|
2019-10-15 11:35:43 +02:00
|
|
|
group = 'com.github.osmandapp.osmand'
|
2019-10-14 13:00:07 +02:00
|
|
|
version = '2.0.0'
|
2019-10-04 14:41:45 +02:00
|
|
|
|
|
|
|
android {
|
2020-03-04 15:34:13 +01:00
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.3"
|
2019-10-04 14:41:45 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 14
|
|
|
|
targetSdkVersion 26
|
|
|
|
versionCode 2
|
|
|
|
versionName "2.0"
|
|
|
|
}
|
2019-10-11 15:38:01 +02:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2019-10-04 14:41:45 +02:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile "AndroidManifest.xml"
|
|
|
|
aidl.srcDirs = ["src"]
|
|
|
|
java.srcDirs = ["src"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2020-03-04 15:34:13 +01:00
|
|
|
implementation 'com.android.support:support-annotations:28.0.0'
|
2019-10-11 16:18:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
task sourcesJar(type: Jar) {
|
|
|
|
classifier = 'sources'
|
2019-10-11 16:30:48 +02:00
|
|
|
from android.sourceSets.main.java.srcDirs
|
2019-10-11 16:18:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
archives sourcesJar
|
2019-10-04 14:41:45 +02:00
|
|
|
}
|