yellowbluesky / PixivforMuzei3

Best Pixiv plugin for Muzei 3
GNU General Public License v3.0
174 stars 15 forks source link

F-Droid can't build 3.3.0 #149

Closed linsui closed 3 years ago

linsui commented 3 years ago
``` > Task :app:kaptGenerateStubsProdReleaseKotlin w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath: /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/1e2eac4c1dcffb4c788af235760737a1/jetified-kotlin-stdlib-jdk7-1.3.72.jar (version 1.3) /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/972ec24ffebb3f5fdf3e78b3e27f8c34/jetified-kotlin-stdlib-1.4.31.jar (version 1.4) /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/e4353ee122290e9152f89ea30d6d800b/jetified-kotlin-stdlib-common-1.4.31.jar (version 1.4) w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath > Task :app:kaptProdReleaseKotlin warning: Current JDK version 1.8.0_275-8u275-b01-1~deb9u1-b01 has a bug (https://bugs.openjdk.java.net/browse/JDK-8007720) that prevents Room from being incremental. Consider using JDK 11+ or the embedded JDK shipped with Android Studio 3.5+.[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (DYNAMIC). > Task :app:compileProdReleaseKotlin FAILED w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath: /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/1e2eac4c1dcffb4c788af235760737a1/jetified-kotlin-stdlib-jdk7-1.3.72.jar (version 1.3) /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/972ec24ffebb3f5fdf3e78b3e27f8c34/jetified-kotlin-stdlib-1.4.31.jar (version 1.4) /builds/linsui/fdroiddata/.gradle/caches/transforms-2/files-2.1/e4353ee122290e9152f89ea30d6d800b/jetified-kotlin-stdlib-common-1.4.31.jar (version 1.4) w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath e: /builds/linsui/fdroiddata/build/com.antony.muzei.pixiv/app/src/main/java/com/antony/muzei/pixiv/provider/PixivArtWorker.kt: (36, 26): Unresolved reference: toUri e: /builds/linsui/fdroiddata/build/com.antony.muzei.pixiv/app/src/main/java/com/antony/muzei/pixiv/provider/PixivArtWorker.kt: (567, 53): Unresolved reference: toUri e: /builds/linsui/fdroiddata/build/com.antony.muzei.pixiv/app/src/main/java/com/antony/muzei/pixiv/provider/PixivArtWorker.kt: (718, 53): Unresolved reference: toUri FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileProdReleaseKotlin'. > Compilation error. See log for more details * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 2m 19s ```

The complete log is here. Do you know why? Thanks!

yellowbluesky commented 3 years ago

The build server seems to be complaining about toUri()

I plan to release 3.4.0 soon, and that will not use toUri().

Is there anything special I need to do when releasing 3.4.0?

Oh BTW, is the F-Droid build server not automatic, have you been manually triggering a rebuild on my app everytime there's an update?

linsui commented 3 years ago

Thanks! There is nothing special need to do. The update is picked by the autoupdate checker automatically. I saw the build failed so test it manully.

linsui commented 3 years ago

3.4.1 is built. Thanks!