-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathbuild.gradle
61 lines (54 loc) · 1.39 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.diffplug.spotless'
apply plugin: 'kotlin-android-extensions'
group = "com.github.DanielMartinus"
repositories {
mavenCentral()
}
android {
compileSdkVersion 28
buildToolsVersion "20.0.2"
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError true
baseline file("lint-baseline.xml")
}
}
spotless {
kotlin {
ktlint("0.29.0")
target "**/*.kt"
endWithNewline()
}
format 'misc', {
target fileTree('.') {
include '**/*.md'
include '**/*.gitignore'
include '**/*.xml'
exclude '**/.gradle/**'
exclude '**/build/**'
exclude '.idea/**'
}
trimTrailingWhitespace()
indentWithSpaces()
endWithNewline()
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.dynamicanimation:dynamicanimation:1.0.0"
api "androidx.constraintlayout:constraintlayout:2.0.4"
}