This pull request is intended
1) to migrate from deprecated notation (compile and testCompile) to recommended notation
2) to migrate deprecated plug-ins
3) to update grade from 6.9.1 to 7.4.2 (to support recent OpenJDK)
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 18.0.1.1 (Homebrew 18.0.1.1+0)
OS: Mac OS X 12.4 aarch64
On this environment with pull request, dex2jar is successfully built.
This pull request is intended 1) to migrate from deprecated notation (compile and testCompile) to recommended notation 2) to migrate deprecated plug-ins 3) to update grade from 6.9.1 to 7.4.2 (to support recent OpenJDK)
Background is that For 1), please see https://docs.gradle.org/current/userguide/upgrading_version_6.html#sec:configuration_removal and gradle 7 already removed the support. For 2), please note that maven and java plug-ins are also deprecated. For 3), gradle 6.9.1 doesn't support recent OpenJDK. See https://docs.gradle.org/current/userguide/compatibility.html
Confirmed environment: Gradle 7.4.2 Build time: 2022-03-31 15:25:29 UTC Revision: 540473b8118064efcc264694cbcaa4b677f61041
Kotlin: 1.5.31 Groovy: 3.0.9 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 18.0.1.1 (Homebrew 18.0.1.1+0) OS: Mac OS X 12.4 aarch64
On this environment with pull request, dex2jar is successfully built.