mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-30 18:29:04 +08:00
47 lines
990 B
Groovy
47 lines
990 B
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion "33.0.2"
|
|
ndkVersion "25.2.9519653"
|
|
|
|
defaultConfig {
|
|
applicationId "imgui.example.android"
|
|
namespace "imgui.example.android"
|
|
minSdkVersion 24
|
|
targetSdkVersion 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget="11"
|
|
}
|
|
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "../../CMakeLists.txt"
|
|
version '3.22.1'
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|