2021-03-04 10:35:44 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
2023-03-07 07:17:56 +01:00
|
|
|
compileSdkVersion 33
|
|
|
|
buildToolsVersion "33.0.2"
|
|
|
|
ndkVersion "25.2.9519653"
|
|
|
|
|
2021-03-04 10:35:44 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "imgui.example.android"
|
2023-03-07 07:17:56 +01:00
|
|
|
namespace "imgui.example.android"
|
|
|
|
minSdkVersion 24
|
|
|
|
targetSdkVersion 33
|
2021-03-04 10:35:44 +01:00
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-07 07:17:56 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget="11"
|
|
|
|
}
|
|
|
|
|
2021-03-04 10:35:44 +01:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "../../CMakeLists.txt"
|
2023-03-07 07:17:56 +01:00
|
|
|
version '3.22.1'
|
2021-03-04 10:35:44 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
}
|