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'
|
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"
|
||||||
|
@ -28,17 +34,3 @@ 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
|
|
||||||
}
|
|
Loading…
Reference in a new issue