From 432f24319319fe040e142059eb83279c53f90ab8 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 9 Aug 2025 08:35:03 +0200 Subject: refactor 2 --- .../android/app/build.gradle | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 libs/imgui-1.92.1/examples/example_android_opengl3/android/app/build.gradle (limited to 'libs/imgui-1.92.1/examples/example_android_opengl3/android/app/build.gradle') diff --git a/libs/imgui-1.92.1/examples/example_android_opengl3/android/app/build.gradle b/libs/imgui-1.92.1/examples/example_android_opengl3/android/app/build.gradle new file mode 100644 index 0000000..3a68c83 --- /dev/null +++ b/libs/imgui-1.92.1/examples/example_android_opengl3/android/app/build.gradle @@ -0,0 +1,46 @@ +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:$kotlin_version" +} -- cgit v1.2.3-70-g09d2