Files
gotify-android-client/app/build.gradle
Jannis Mattheis c413114702 Update compile sdk
2019-11-28 22:52:08 +01:00

72 lines
2.2 KiB
Groovy

plugins {
id "com.diffplug.gradle.spotless" version "3.26.1"
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.github.gotify"
minSdkVersion 19
targetSdkVersion 29
versionCode 10
versionName "2.0.7"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
lintOptions {
disable 'GoogleAppIndexingWarning'
lintConfig file('../lint.xml')
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
}
dependencies {
implementation project(':client')
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.jakewharton:butterknife:10.2.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
implementation 'com.hypertrack:hyperlog:0.0.10'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'io.noties.markwon:core:4.2.0'
implementation 'io.noties.markwon:image-picasso:4.2.0'
implementation 'io.noties.markwon:image:4.2.0'
implementation 'io.noties.markwon:ext-tables:4.2.0'
}
configurations {
all {
exclude group: 'org.json', module: 'json'
}
}
spotless {
java {
target '**/*.java'
googleJavaFormat().aosp()
removeUnusedImports()
importOrder('', 'static *')
}
}