Просмотр исходного кода

Remove the platform independent fix (handled by NBPackage)

Toni Helenius 2 недель назад
Родитель
Сommit
7f3689ce3f
2 измененных файлов с 0 добавлено и 38 удалено
  1. 0 2
      .github/workflows/release.yml
  2. 0 36
      build.gradle

+ 0 - 2
.github/workflows/release.yml

@@ -24,8 +24,6 @@ jobs:
       run: ./gradlew overrideHarness -Ptag_name=${{ github.ref_name }}
     - name: Build Installers
       run: ant -Dstorepass="$NBM_SIGN_PASS" -Dpack200.enabled=false set-spec-version build-zip unset-spec-version
-    - name: Fix Platform Independent Build
-      run: ./gradlew fixPlatformIndependent -Ptag_name=${{ github.ref_name }}
     - name: Download JDKs for the installers
       run: bash download-jdks.sh
       working-directory: installers

+ 0 - 36
build.gradle

@@ -643,42 +643,6 @@ tasks.register('cleanSdk') {
     }
 }
 
-tasks.register('extractPlatformIndependent', Copy) {
-    from zipTree('dist/jmonkeyplatform.zip')
-    into "dist/temp/"
-
-    exclude("jmonkeyplatform/etc/jmonkeyplatform.conf")
-}
-
-tasks.register('patchPlatformIndependent', Copy) {
-    dependsOn extractPlatformIndependent
-    from zipTree('dist/jmonkeyplatform.zip')
-    into "dist/temp/"
-
-    include("jmonkeyplatform/etc/jmonkeyplatform.conf")
-
-    filter { String line ->
-        line.startsWith('jdkhome=') ? '#jdkhome="/path/to/jdk"' : line
-    }
-
-    doLast {
-        delete(file('dist/jmonkeyplatform.zip'))
-    }
-}
-
-tasks.register('fixPlatformIndependent', Zip) {
-    dependsOn patchPlatformIndependent
-    description = "We compile our installers with the bundled jdk, but the platform independent zip doesn't have the jdk. For this we need to change the jmonkeyplatform.zip after building the installers to not have a jdk bundled"
-
-    from 'dist/temp'
-    archiveFileName = 'jmonkeyplatform.zip'
-    destinationDirectory = file('dist')
-
-    doLast {
-        delete("dist/temp")
-    }
-}
-
 wrapper {
     gradleVersion = '9.2.1'
 }