-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (43 loc) · 1.07 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
48 lines (43 loc) · 1.07 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
42
43
44
45
46
47
48
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("maven-publish")
}
android {
namespace = "com.hardkey.sdk"
compileSdk = 33
defaultConfig {
minSdk = 26
targetSdk = 33
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
implementation("androidx.core:core-ktx:1.9.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.8.0")
testImplementation("junit:junit:4.13.2")
}
publishing {
publications {
create<MavenPublication>("release") {
afterEvaluate {
from(components["release"])
}
groupId = "com.hardkey.sdk"
artifactId = "hardkey-android"
version = "0.1.0"
}
}
}