-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
53 lines (47 loc) · 1.48 KB
/
build.gradle.kts
File metadata and controls
53 lines (47 loc) · 1.48 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
49
50
51
52
53
plugins {
alias(libs.plugins.android.application)
// Required: Kotlin plugin needed to compile the CoroutineHelper bridge file.
// The SDK exposes suspend functions which cannot be called from pure Java —
// a thin Kotlin bridge is the only way to properly create coroutine state machines.
// This does NOT affect existing Java code; it only enables compiling .kt files.
alias(libs.plugins.jetbrains.kotlin.android)
}
android {
namespace = "com.eka.voice2rx.javasample"
compileSdk = 35
defaultConfig {
applicationId = "com.eka.voice2rx.javasample"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
viewBinding = true
}
}
dependencies {
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.kotlinx.coroutines)
// Eka Scribe SDK
implementation(project(":scribesdk"))
}