-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
72 lines (62 loc) · 2.11 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
/*
* Copyright © Marc Auberer 2020-2022. All rights reserved
*/
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jetbrains.dokka'
}
android {
compileSdk 34
buildToolsVersion "34.0.0"
defaultConfig {
minSdk 21
targetSdk 34
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
viewBinding true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
// specify the artifactId as module-name for kotlin
kotlinOptions.freeCompilerArgs += ["-module-name", POM_ARTIFACT_ID]
namespace 'com.chillibits.simplesettings'
}
dependencies {
// Base dependencies
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
implementation 'androidx.activity:activity-ktx:1.8.2'
// Google dependencies
api 'com.google.android.material:material:1.11.0'
api 'androidx.preference:preference-ktx:1.2.1'
// External dependencies
api 'com.mikepenz:aboutlibraries-core:11.1.1'
api 'com.mikepenz:aboutlibraries:11.1.1'
api 'com.mikepenz:fastadapter:5.7.0'
api 'com.github.ibrahimsn98:live-preferences:1.9'
api 'com.github.skydoves:colorpickerpreference:2.0.6'
// Test dependencies
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}
dokkaHtml.configure {
dokkaSourceSets {}
}
if (project.hasProperty('pushall') || project.hasProperty('library_only')) {
apply from: '../gradle-release.gradle'
}