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()
|
2024-08-13 11:15:47 +00:00
|
|
|
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()
|
2024-08-13 11:15:47 +00:00
|
|
|
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"
|
|
|
|
}
|