Skip to content

Commit 472915d

Browse files
authored
Merge pull request #233 from OpenBrickProtocolFoundation/maintenance_and_update_dependencies
Maintenance and update dependencies
2 parents f63ad26 + 9457922 commit 472915d

File tree

11 files changed

+39
-34
lines changed

11 files changed

+39
-34
lines changed

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Setup NDK
4848
run: |
49-
sdkmanager --install "ndk;29.0.13599879"
49+
sdkmanager --install "ndk;29.0.13846066"
5050
5151
- name: Build native libraries
5252
run: |

platforms/android/app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ File getDiscordLib() {
294294
String target = getMesonBuildType() == 'release' ? 'release' : 'debug'
295295
String path = "../../../../subprojects/discord_social_sdk/lib/" + target + "/discord_partner_sdk.aar";
296296
File file = project.file(project.getLayout().getBuildDirectory().file(path));
297-
if(!file.exists()){
297+
if (!file.exists()) {
298298
throw new Exception("ERROR: discord aar is not present at the location we expected it to be!")
299299
}
300300

@@ -322,7 +322,7 @@ android {
322322
}
323323

324324
compileSdkVersion 35
325-
ndkVersion "29.0.13599879"
325+
ndkVersion = "29.0.13846066"
326326
defaultConfig {
327327
if (buildAsApplication) {
328328
applicationId "com.github.oopetris"
@@ -339,9 +339,9 @@ android {
339339
}
340340
}
341341
lint {
342-
abortOnError false
342+
abortOnError = false
343343
}
344-
namespace 'com.github.oopetris'
344+
namespace = 'com.github.oopetris'
345345
applicationVariants.all { variant ->
346346
tasks["merge${variant.name.capitalize()}Assets"]
347347
.dependsOn("externalNativeBuild${variant.name.capitalize()}")
@@ -373,15 +373,15 @@ android {
373373
// Configures multiple APKs based on ABI.
374374
abi {
375375
// Enables building multiple APKs per ABI.
376-
enable true
376+
enable = true
377377
// By default all ABIs are included, so use reset() and include to specify that you only
378378
// want APKs for the ones with a ndk variant (4, android did in the past support more: https://developer.android.com/ndk/guides/abis.html#sa)
379379
// Resets the list of ABIs for Gradle to create APKs for to none.
380380
reset()
381381
// Specifies a list of ABIs for Gradle to create APKs for.
382382
include(*abisToUse)
383383
// Specifies that you don't want to also generate a universal APK that includes all ABIs.
384-
universalApk(buildUniversalApk)
384+
universalApk = buildUniversalApk
385385
}
386386
}
387387

platforms/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:8.10.1'
9+
classpath 'com.android.tools.build:gradle:8.12.1'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
@@ -20,6 +20,6 @@ allprojects {
2020
}
2121
}
2222

23-
task clean(type: Delete) {
24-
delete rootProject.buildDir
23+
tasks.register("clean", Delete) {
24+
delete rootProject.layout.buildDirectory
2525
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 10 18:14:41 CEST 2025
1+
#Mon Aug 18 19:56:11 CEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

platforms/build-android.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [ ! -d "toolchains" ]; then
1111
mkdir -p toolchains
1212
fi
1313

14-
export NDK_VER_DOWNLOAD="r29-beta2"
15-
export NDK_VER_DESC="r29-beta2"
14+
export NDK_VER_DOWNLOAD="r29-beta3"
15+
export NDK_VER_DESC="r29-beta3"
1616

1717
export BASE_PATH="$PWD/toolchains/android-ndk-$NDK_VER_DESC"
1818
export ANDROID_NDK_HOME="$BASE_PATH"

src/executables/game/application.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ struct Application final : public EventListener, public ServiceProvider {
150150

151151
void handle_event(const SDL_Event& event) override;
152152

153-
virtual void update();
153+
void update();
154154

155-
virtual void render() const;
155+
void render() const;
156156

157157
#if defined(__EMSCRIPTEN__)
158158
void loop_entry_emscripten();

subprojects/cpp-httplib.wrap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[wrap-file]
2-
directory = cpp-httplib-0.23.1
3-
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.23.1.tar.gz
4-
source_filename = cpp-httplib-0.23.1.tar.gz
5-
source_hash = 410a1347ed6bcbcc4a19af8ed8ad3873fe9fa97731d52db845c4c78f3f9c31e6
6-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.23.1-1/cpp-httplib-0.23.1.tar.gz
7-
wrapdb_version = 0.23.1-1
8-
diff_files = cpp-httplib-0.23.1_mingw.diff
2+
directory = cpp-httplib-0.25.0
3+
source_url = https://github.com/yhirose/cpp-httplib/archive/refs/tags/v0.25.0.tar.gz
4+
source_filename = cpp-httplib-0.25.0.tar.gz
5+
source_hash = ac7c59fa72325d4cb9f73af266312d82632ac35a5c4c8a1be620c1f946ec9cea
6+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/cpp-httplib_0.25.0-1/cpp-httplib-0.25.0.tar.gz
7+
wrapdb_version = 0.25.0-1
8+
diff_files = cpp-httplib-0.25.0_mingw.diff
99

1010
[provide]
1111
cpp-httplib = cpp_httplib_dep

subprojects/libpng.wrap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ directory = libpng-1.6.50
33
source_url = https://github.com/pnggroup/libpng/archive/v1.6.50.tar.gz
44
source_filename = libpng-1.6.50.tar.gz
55
source_hash = 71158e53cfdf2877bc99bcab33641d78df3f48e6e0daad030afe9cb8c031aa46
6-
patch_filename = libpng_1.6.50-1_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/libpng_1.6.50-1/get_patch
8-
patch_hash = d8f364bb5b5aa342ee0cfa17ef65746ebc37ad0aa9fabfe383f185dfdaa7d4ab
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libpng_1.6.50-1/libpng-1.6.50.tar.gz
10-
wrapdb_version = 1.6.50-1
6+
patch_filename = libpng_1.6.50-2_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/libpng_1.6.50-2/get_patch
8+
patch_hash = a9c9362bb8cbb422c864807a174977dec3868cdff8ca380e27bab6ee1caa22ea
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/libpng_1.6.50-2/libpng-1.6.50.tar.gz
10+
wrapdb_version = 1.6.50-2
1111

1212
[provide]
1313
libpng = libpng_dep

subprojects/zlib.wrap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
22
directory = zlib-1.3.1
33
source_url = http://zlib.net/fossils/zlib-1.3.1.tar.gz
4-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/zlib_1.3.1-1/zlib-1.3.1.tar.gz
4+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/zlib_1.3.1-2/zlib-1.3.1.tar.gz
55
source_filename = zlib-1.3.1.tar.gz
66
source_hash = 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
7-
patch_filename = zlib_1.3.1-1_patch.zip
8-
patch_url = https://wrapdb.mesonbuild.com/v2/zlib_1.3.1-1/get_patch
9-
patch_hash = e79b98eb24a75392009cec6f99ca5cdca9881ff20bfa174e8b8926d5c7a47095
10-
wrapdb_version = 1.3.1-1
7+
patch_filename = zlib_1.3.1-2_patch.zip
8+
patch_url = https://wrapdb.mesonbuild.com/v2/zlib_1.3.1-2/get_patch
9+
patch_hash = 9cacea02e1119964bc51e92dd2359b14df723a36cfe0df1c78d55d9c9f2763ae
10+
wrapdb_version = 1.3.1-2
1111

1212
[provide]
1313
zlib = zlib_dep

0 commit comments

Comments
 (0)