Skip to content

Commit 83e9a31

Browse files
committed
eeeee
1 parent bdd1682 commit 83e9a31

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33

44
# Ignore Gradle build output directory
55
build
6+
7+
# Ignore Gradle CPP build
8+
.cxx

app/build.gradle.kts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ android {
1515
versionCode = 1
1616
versionName = "0.0.1"
1717

18+
externalNativeBuild {
19+
cmake {
20+
arguments += listOf("-DCMAKE_BUILD_TYPE=Release", "-DANDROID_PLATFORM=29")
21+
}
22+
}
23+
1824
ndk {
1925
abiFilters += listOf("armeabi-v7a", "arm64-v8a")
2026
}
@@ -51,8 +57,8 @@ android {
5157
}
5258

5359
compileOptions {
54-
sourceCompatibility = JavaVersion.VERSION_11
55-
targetCompatibility = JavaVersion.VERSION_11
60+
sourceCompatibility = JavaVersion.VERSION_1_8
61+
targetCompatibility = JavaVersion.VERSION_1_8
5662
}
5763

5864
packagingOptions {
@@ -63,7 +69,7 @@ android {
6369

6470
externalNativeBuild {
6571
cmake {
66-
path = file("../FOGLTLOGLES/CMKeLists.txt")
72+
path = file("../FOGLTLOGLES/CMakeLists.txt")
6773
}
6874
}
6975
}

0 commit comments

Comments
 (0)