Fix lint options

This commit is contained in:
Chumva 2019-10-11 16:38:01 +03:00
parent 99e06def03
commit e8fb55c9db

View file

@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.osmandapp' group = 'com.github.osmandapp'
version = '2.0' version = '2.0.1'
android { android {
compileSdkVersion 27 compileSdkVersion 27
@ -14,7 +14,13 @@ android {
versionCode 2 versionCode 2
versionName "2.0" versionName "2.0"
} }
buildTypes {
release {
}
}
lintOptions {
abortOnError false
}
sourceSets { sourceSets {
main { main {
manifest.srcFile "AndroidManifest.xml" manifest.srcFile "AndroidManifest.xml"
@ -27,18 +33,4 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-annotations:27.1.1' 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
} }