OsmAnd/OsmAnd-api/build.gradle

41 lines
851 B
Groovy
Raw Normal View History

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'
version = '2.0.0'
android {
2020-03-04 15:34:13 +01:00
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 2
versionName "2.0"
}
2019-10-11 15:38:01 +02:00
lintOptions {
abortOnError false
}
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
}