File tree Expand file tree Collapse file tree 4 files changed +25
-2
lines changed
dev.skidfuscator.client.standalone
dev.skidfuscator.obfuscator
main/java/dev/skidfuscator/obfuscator/util Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.github.johnrengelman.shadow' version ' 7.1.2'
33 id ' application'
4+ id ' xyz.wagyourtail.jvmdowngrader' version ' 1.2.1'
45}
56repositories {
67 mavenCentral()
@@ -11,6 +12,14 @@ application {
1112 mainClass = ' dev.skidfuscator.obfuscator.SkidfuscatorMain'
1213}
1314
15+ downgradeJar {
16+ downgradeTo = JavaVersion . VERSION_1_8
17+ }
18+
19+ shadeDowngradedApi {
20+ downgradeTo = JavaVersion . VERSION_1_8
21+ }
22+
1423dependencies {
1524 implementation ' info.picocli:picocli:4.6.3'
1625 implementation ' org.jline:jline:3.21.0'
@@ -25,4 +34,7 @@ dependencies {
2534
2635test {
2736 useJUnitPlatform()
28- }
37+ }
38+
39+ sourceCompatibility = JavaVersion . VERSION_17
40+ targetCompatibility = JavaVersion . VERSION_17
Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
33 id ' com.roscopeco.jasm' version " 0.7.0"
4+ id ' xyz.wagyourtail.jvmdowngrader' version ' 1.2.1'
45}
56
67repositories {
@@ -49,3 +50,12 @@ test {
4950}
5051sourceCompatibility = JavaVersion . VERSION_17
5152targetCompatibility = JavaVersion . VERSION_17
53+
54+ configurations {
55+ downgrade
56+ implementation. extendsFrom downgrade
57+ }
58+
59+ downgradeJar {
60+ downgradeTo = JavaVersion . VERSION_1_8
61+ }
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ public class JdkDownloader {
2929 JDK_URL = "https://corretto.aws/downloads/resources/17.0.13.11.1/amazon-corretto-17.0.13.11.1-macosx-aarch64.tar.gz" ;
3030 break ;
3131 case "windows" :
32+ case "windows 11" :
3233 JDK_URL = "https://download.java.net/java/GA/jdk17.0.2/0d483333a00540d886896a45e7e18309295e7f3a/jdk-17.0.2_windows-x64_bin.zip" ;
3334 break ;
3435 default :
Original file line number Diff line number Diff line change 11exempt : [
2- "class{^dev\\ /skidfuscator\\ /test}"
2+ "class{^dev\\ /skidfuscator\\ /test}" ,
33]
44
55driver : {
You can’t perform that action at this time.
0 commit comments