-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
80 lines (72 loc) · 1.87 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
buildscript {
ext.kotlin_version = '1.9.0'
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.3.0"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.dokka-android'
apply plugin: 'org.jlleitschuh.gradle.ktlint'
android {
defaultConfig {
compileSdk 34
minSdkVersion 18
targetSdkVersion 34
buildToolsVersion = "34.0.0"
}
buildFeatures {
viewBinding true
}
signingConfigs {
release {
storeFile file("release.keystore")
storePassword System.getenv("KEYPWD")
keyAlias "releaseKey"
keyPassword System.getenv("KEYPWD")
}
}
buildTypes {
release {
minifyEnabled false
proguardFile getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.release
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
namespace 'com.ids1024.whitakerswords'
packagingOptions {
jniLibs {
useLegacyPackaging true
}
}
compileOptions {
}
kotlinOptions {
jvmTarget = "18"
}
}
repositories {
mavenCentral()
google()
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}