Upgrade to Gradle 7.x and NDK r23b#3
Upgrade to Gradle 7.x and NDK r23b#3feiyunw wants to merge 5 commits intoMeridianOXC:oxce-plus-protofrom
Conversation
… Tools 30.0.2 and set ndkVersion 18.1.5063045 (r18b).
|
@StoddardOXC can you check if this is compatible with the build farm? |
|
Buildfarm worker is now at
Do we lose any compatability with older devices? I can fire up a worker with those versions no problem, but is it worth it? |
|
@MeridianOXC Barring any obvious loss of support for older devices I recommend you make a branch with this PR merged, then I fix up a worker and a build for this, then test the resulting artifacts. |
|
Thank you for the android version. Can you update it to 8.3 version of the OXCE mod please? |
I update the android version with every major release. |
|
Sorry. I thought I'm commenting the Brutal Oxce mod android version... |
|
@feiyunw I am not able to build this (probably doing something wrong). Could you maybe upgrade all components to the newest versions? Gradle, SDK, NDK, Java, etc. Once I'm able to build this successfully (preferably in command line or via Android studio) I will submit the change. Stoddard's buildfarm doesn't exist anymore, so there are no dependencies remaining. |
Upgrade to Android Gradle Plugin 7.0.3, Gradle 7.3, Android SDK Build Tools 30.0.2, set ndkVersion to 23.1.7779620 (r23b) and Java compatibility to VERSION_1_8.
The additions in app/build.gradle were done by Android Studio "File->Project Structure" dialog.
I built an APK release with android-studio-2020.3.1.25-windows on Windows 10. It was tested on my Android 7.0 (Samsung Galaxy S6 edge+) and Android 11 (Vivo X70 Pro+). Both look good.

FYI:
Android Gradle plugin release notes
Gradle Distributions
NDK Downloads
Cannot add task 'wrapper' as a task with that name already exists
How to specify source and target compatibility in Java module?