android/source/build.gradle | 1 - 1 file changed, 1 deletion(-) New commits: commit fd95bf6dea0bfa5a9fd1254c11854dec4a2cdcff Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Mon Aug 8 09:09:21 2022 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Mon Aug 8 13:22:45 2022 +0200
android: Drop empty main.jni.srcDirs from sourceSets This was shown as a recommended step in Android Studio when the update to Android Gradle Plugin 7.2.2 was suggested: > *Remove jni source directory from sourceSets* > > The jni block in an android > sourceSet does nothing, and will be removed in Android Gradle Plugin > version 8.0.0. Change-Id: I3378926047d5ad86548d0bf800e022b74efb5e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137942 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/android/source/build.gradle b/android/source/build.gradle index 0a6c1aefa454..13d4d1b0bb14 100644 --- a/android/source/build.gradle +++ b/android/source/build.gradle @@ -40,7 +40,6 @@ android { main.res.srcDirs = ['res', 'res_generated'] main.java.srcDirs = ['../Bootstrap/src', 'src/java'] main.jniLibs.srcDirs = ["${liboJniLibsdir}"] - main.jni.srcDirs = [] // don't attempt to build native-lib via gradle // the configuration data that might be stripped or not fullUI.assets.srcDirs 'assets_fullUI' strippedUI.assets.srcDirs 'assets_strippedUI'