-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
66 lines (52 loc) · 1.83 KB
/
build.gradle.kts
File metadata and controls
66 lines (52 loc) · 1.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
// SPDX-License-Identifier: Apache-2.0
plugins {
id("com.android.application")
}
repositories {
google()
mavenCentral()
}
android {
compileSdk = 34
namespace = "com.hedera.android_example"
defaultConfig {
applicationId = "com.hedera.android_example"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles.add(getDefaultProguardFile("proguard-android-optimize.txt"))
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
packaging {
resources.excludes.add("META-INF/versions/9/OSGI-INF/MANIFEST.MF")
}
}
dependencies {
// --- Remove to use a published SDK version ---
implementation(platform("org.hiero:hiero-dependency-versions"))
// ---------------------------------------------
implementation("com.hedera.hashgraph:sdk:2.71.0")
implementation("com.google.android.material:material:1.12.0")
implementation("androidx.appcompat:appcompat")
implementation("androidx.constraintlayout:constraintlayout")
implementation("androidx.coordinatorlayout:coordinatorlayout")
implementation("androidx.fragment:fragment")
implementation("androidx.lifecycle:lifecycle-common")
implementation("androidx.lifecycle:lifecycle-viewmodel")
implementation("androidx.recyclerview:recyclerview")
implementation("androidx.viewpager2:viewpager2")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core")
runtimeOnly("io.grpc:grpc-okhttp")
runtimeOnly("org.slf4j:slf4j-simple:2.0.17")
}