Skip to content

Commit 9fa02e0

Browse files
committed
Bump NDK version
1 parent 213b8e9 commit 9fa02e0

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

.github/workflows/Android.yml

-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
distribution: 'adopt'
2727
cache: gradle
2828

29-
# CMake version 3.21.3 causes gradle to throw a NullPointerException during the build
30-
# Removing it will cause gradle to fall back on 3.18.1 installed by the Android SDK
31-
- name: Create Build Environment
32-
run: rm /usr/local/bin/cmake
33-
3429
- name: Cache CMake build folder
3530
uses: actions/cache@v2
3631
with:

CMake/platforms/android.cmake

-5
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,3 @@ set(UBSAN OFF)
2525

2626
# Disable in-game options to exit the game.
2727
set(NOEXIT ON)
28-
29-
if(CMAKE_BUILD_TYPE STREQUAL "Release")
30-
# Work around a linker bug in clang: https://github.com/android/ndk/issues/721
31-
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -flto=full")
32-
endif()

android-project/app/build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ if (buildAsApplication) {
77
}
88

99
android {
10+
//ndkVersion '25.0.8775105'
11+
//ndkVersion '24.0.8215888'
12+
ndkVersion '23.2.8568313'
1013
compileSdkVersion 32
1114
defaultConfig {
1215
if (buildAsApplication) {
@@ -40,7 +43,7 @@ android {
4043
externalNativeBuild {
4144
cmake {
4245
path '../../CMakeLists.txt'
43-
version "3.13.0+"
46+
version "3.22.1+"
4447
}
4548
}
4649

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Nov 11 18:20:34 PST 2021
1+
#Mon Jul 25 04:46:02 CEST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)