cake_wallet/cw_haven/android/build.gradle

57 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2022-03-30 15:57:04 +00:00
group 'com.cakewallet.cw_haven'
version '1.0-SNAPSHOT'
buildscript {
2024-11-25 19:05:36 +00:00
ext.kotlin_version = '2.0.21'
2022-03-30 15:57:04 +00:00
repositories {
google()
mavenCentral()
2022-03-30 15:57:04 +00:00
}
dependencies {
2024-11-25 19:05:36 +00:00
classpath 'com.android.tools.build:gradle:8.7.1'
2022-03-30 15:57:04 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
2022-03-30 15:57:04 +00:00
}
}
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
2024-11-25 19:05:36 +00:00
compileSdkVersion 33
2022-03-30 15:57:04 +00:00
2024-11-25 19:05:36 +00:00
if (project.android.hasProperty("namespace")) {
namespace 'com.cakewallet.cw_haven'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
2022-03-30 15:57:04 +00:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
minSdkVersion 21
}
externalNativeBuild {
cmake {
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}