Fix lint options
This commit is contained in:
parent
99e06def03
commit
e8fb55c9db
1 changed files with 8 additions and 16 deletions
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
|
|||
apply plugin: 'com.github.dcendents.android-maven'
|
||||
|
||||
group = 'com.github.osmandapp'
|
||||
version = '2.0'
|
||||
version = '2.0.1'
|
||||
|
||||
android {
|
||||
compileSdkVersion 27
|
||||
|
@ -14,7 +14,13 @@ android {
|
|||
versionCode 2
|
||||
versionName "2.0"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
}
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile "AndroidManifest.xml"
|
||||
|
@ -27,18 +33,4 @@ android {
|
|||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation 'com.android.support:support-annotations:27.1.1'
|
||||
}
|
||||
|
||||
task sourcesJar(type: Jar) {
|
||||
classifier = 'sources'
|
||||
from android.sourceSets.main.java.sourceFiles
|
||||
}
|
||||
|
||||
task classesJar(type: Jar) {
|
||||
from "$buildDir/intermediates/classes/release"
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives classesJar
|
||||
archives sourcesJar
|
||||
}
|
Loading…
Reference in a new issue