-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (37 loc) · 1.03 KB
/
build.gradle
File metadata and controls
41 lines (37 loc) · 1.03 KB
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
plugins {
id "com.android.library"
id "kotlin-android"
id "maven-publish"
}
android {
defaultConfig {
compileSdk propCompileSdkVersion
buildConfigField "String", "VERSIONNAME", "\"" + getTag() + "\""
minSdkVersion 21
project.archivesBaseName = "LogcatCore"
}
namespace "info.hannes.logcat"
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildFeatures {
buildConfig true
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.8.7"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.8.7"
api "com.github.hannesa2:timber:5.0.1.3"
}
publishing {
publications {
release(MavenPublication) {
afterEvaluate {
from components.release
}
}
}
}