From a9d3bccc3d1a679994378088b20b5687a2fefa42 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 22 Aug 2023 23:09:40 +0100 Subject: [PATCH 1/4] Update JDT --- build.gradle.kts | 4 +-- gradle.lockfile | 25 +++++++++--------- gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.jar | Bin 61574 -> 61624 bytes gradle/wrapper/gradle-wrapper.properties | 2 +- .../test/SourceCompatibilityTests.java | 2 +- 6 files changed, 18 insertions(+), 17 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 2f098fa..b96292b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { `maven-publish` id("uk.jamierocks.propatcher") version "2.0.1" id("org.cadixdev.licenser") version "0.6.1" - id("com.github.johnrengelman.shadow") version "6.1.0" + id("com.github.johnrengelman.shadow") version "7.1.2" } val artifactId = name.toLowerCase() @@ -33,7 +33,7 @@ dependencyLocking { lockMode.set(LockMode.STRICT) } -val jdtVersion = "org.eclipse.jdt:org.eclipse.jdt.core:3.32.0" +val jdtVersion = "org.eclipse.jdt:org.eclipse.jdt.core:3.34.0" dependencies { // JDT pulls all of these deps in, however they do not specify the exact version to use so they can get updated without us knowing. // Depend specifically on these versions to prevent them from being updated under our feet. diff --git a/gradle.lockfile b/gradle.lockfile index ac133af..a96c440 100644 --- a/gradle.lockfile +++ b/gradle.lockfile @@ -6,20 +6,21 @@ org.cadixdev:at:0.1.0-rc1=compileClasspath,runtimeClasspath,testCompileClasspath org.cadixdev:bombe:0.3.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.cadixdev:lorenz-io-jam:0.5.7=testRuntimeClasspath org.cadixdev:lorenz:0.5.7=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.jdt:org.eclipse.jdt.core:3.32.0=compileClasspath,jdt,jdtSources,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.commands:3.10.300=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.contenttype:3.8.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.expressions:3.8.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.filesystem:1.9.500=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.jobs:3.13.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.resources:3.18.100=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.core.runtime:3.26.100=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jdt:ecj:3.34.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.jdt:org.eclipse.jdt.core:3.34.0=compileClasspath,jdt,jdtSources,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.commands:3.11.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.contenttype:3.9.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.expressions:3.9.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.filesystem:1.10.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.jobs:3.14.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.resources:3.19.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.core.runtime:3.27.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.eclipse.platform:org.eclipse.equinox.app:1.6.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.equinox.common:3.17.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.equinox.preferences:3.10.100=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.equinox.common:3.18.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.equinox.preferences:3.10.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.eclipse.platform:org.eclipse.equinox.registry:3.11.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.osgi:3.18.200=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -org.eclipse.platform:org.eclipse.text:3.12.300=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.osgi:3.18.400=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +org.eclipse.platform:org.eclipse.text:3.13.0=compileClasspath,jdt,runtimeClasspath,testCompileClasspath,testRuntimeClasspath org.junit.jupiter:junit-jupiter-api:5.7.0=testCompileClasspath,testRuntimeClasspath org.junit.jupiter:junit-jupiter-engine:5.7.0=testRuntimeClasspath org.junit.platform:junit-platform-commons:1.7.0=testCompileClasspath,testRuntimeClasspath diff --git a/gradle.properties b/gradle.properties index 82616b0..7f896da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = net.fabricmc name = Mercury -version = 0.3.0 +version = 0.3.1 description = A source transformation and -remapping framework for Java. url = https://github.com/FabricMC/Mercury diff --git a/gradle/wrapper/gradle-wrapper.j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=kl&&-49(HkP|M z;&coUdkC#VqPnAER<og~{c1GthZY>3-r}W&@&pXh{nyvRP(*Yq;E?6ZD!! zdTdf2c{}`9LecpR%+_LWTfhGbP z%#d`2osAm_tV*lrR+O(*Z2#X8qx+Bz^}izqxcP_}jB`W|fVzP3+*!f8M|^-~x4*~@ zCOgChkNvI4`23Yb;A9_M@atnX0E6#;5)B;W%lNM=`j{Nh9{7K4tRPZw;2tjc@ULAB z`pAH@GUGC+8n(AfkY|Pu>DT^T9He#NfGn z?7w+ja7Fg5r_nk{^7!z5@2%nA10oof<@0I0UWUZBrQ5U N0Rn>h&;K*$e*kC({~`bY diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f398c33..4e86b92 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/test/java/org/cadixdev/mercury/test/SourceCompatibilityTests.java b/src/test/java/org/cadixdev/mercury/test/SourceCompatibilityTests.java index 96ddfc9..5676286 100644 --- a/src/test/java/org/cadixdev/mercury/test/SourceCompatibilityTests.java +++ b/src/test/java/org/cadixdev/mercury/test/SourceCompatibilityTests.java @@ -33,6 +33,6 @@ void setSourceCompatibilityFromRelease() { Assertions.assertEquals(JavaCore.VERSION_17, mercury.getSourceCompatibility()); mercury.setSourceCompatibilityFromRelease(99); - Assertions.assertEquals(JavaCore.VERSION_19, mercury.getSourceCompatibility()); + Assertions.assertEquals(JavaCore.VERSION_20, mercury.getSourceCompatibility()); } } From 053edd3d0d015919d6525aadde80d5f079525b3a Mon Sep 17 00:00:00 2001 From: Jason <11360596+jpenilla@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:11:43 -0700 Subject: [PATCH 2/4] Add missing break for IBinding.PACKAGE (#2) --- src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java b/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java index 377ced7..dbcabf0 100644 --- a/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java +++ b/src/main/java/org/cadixdev/mercury/remapper/RemapperVisitor.java @@ -191,6 +191,7 @@ protected void visit(SimpleName node, IBinding binding) { // This is ignored because it should be covered by separate handling // of QualifiedName (for full-qualified class references), // PackageDeclaration and ImportDeclaration + break; default: throw new IllegalStateException("Unhandled binding: " + binding.getClass().getSimpleName() + " (" + binding.getKind() + ')'); } From 9938cb0849243684bb8f2ec47cda7f6311be7513 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 22 Aug 2023 23:14:52 +0100 Subject: [PATCH 3/4] Build against Java 17 to match JDT. --- .github/workflows/build.yml | 2 +- build.gradle.kts | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17e58b4..990690d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - java: [11-jdk, 17-jdk] + java: [17-jdk] runs-on: ubuntu-22.04 container: image: eclipse-temurin:${{ matrix.java }} diff --git a/build.gradle.kts b/build.gradle.kts index b96292b..25b09b3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -113,7 +113,7 @@ tasks.withType { } tasks.withType { - options.release.set(11) + options.release.set(17) } tasks.jar { diff --git a/gradle.properties b/gradle.properties index 7f896da..61f4b1c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ group = net.fabricmc name = Mercury -version = 0.3.1 +version = 0.4.0 description = A source transformation and -remapping framework for Java. url = https://github.com/FabricMC/Mercury From 75b2f49b9f01f5cc97e7656874a013d76075412e Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sun, 5 Nov 2023 09:53:59 -0700 Subject: [PATCH 4/4] bump base_version to 0.1.3 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 9ab02ed..66a3f46 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group = dev.architectury og_group = org.cadixdev name = Mercury -base_version = 0.1.2 +base_version = 0.1.3 description = A source transformation and -remapping framework for Java. url = https://github.com/architectury/Mercury