diff --git a/build.gradle b/build.gradle index cdfa6c6e..10eef079 100644 --- a/build.gradle +++ b/build.gradle @@ -1,25 +1,5 @@ -buildscript { - repositories { - maven { url = 'https://files.minecraftforge.net/maven' } - mavenLocal() - mavenCentral() - maven { - url "https://plugins.gradle.org/m2/" - } - } - dependencies { - classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true - classpath "gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0" - classpath "gradle.plugin.com.matthewprenger:CurseGradle:1.4.0" - classpath 'de.undercouch:gradle-download-task:4.1.2' - } -} +apply from: 'https://raw.githubusercontent.com/ldtteam/OperaPublicaCreator/main/gradle/mod.gradle' -configurations.all { - resolutionStrategy { - force 'cpw.mods:securejarhandler:0.9.50' - } +eclipse { + autoBuildTasks processResourcesEclipse } - -apply from: 'https://raw.githubusercontent.com/ldtteam/OperaPublicaCreator/main/gradle/mod.gradle' -project.getLogger().lifecycle("Loaded remote build.gradle with version: " + project.modVersion) \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 5421bbaa..3d6995c4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,40 +8,36 @@ modBaseName=blockui javaVersion=17 useJavaToolChains=true - #The currently running forge. -forgeVersion=40.0.1 +forgeVersion=41.0.4 #The minimal needed forge, as marked in metadata and curseforge. -forgeMinVersion=38.0.17 +forgeMinVersion=41.0.4 -fml_range=[38,) -forge_range=[38.0.17,) -minecraft_range=[1.18,) +fml_range=[41,) +forge_range=[41.0.4,) +minecraft_range=[1.19,) #The version for forge (dependency) -exactMinecraftVersion=1.18.2 +exactMinecraftVersion=1.19 #The main version on curseforge -minecraftVersion=1.18 +minecraftVersion=1.19 #Semicolon seperated list of mc versions, which are marked as compatible on curseforge -additionalMinecraftVersions=1.18.1;1.18.2 - -curseId=522992 -usesCurse=true +additionalMinecraftVersions=1.19.1,1.19.2 mappingsChannel=official -mappingsVersion=1.18.2 +mappingsVersion=1.19 githubUrl=https://github.com/ldtteam/BlockUI gitUrl=https://github.com/ldtteam/BlockUI.git gitConnectUrl=https://github.com/ldtteam/BlockUI.git projectUrl=https://github.com/ldtteam/BlockUI -usesCrowdInTranslationManagement=false -usesCrowdInBuildingWithFilteredBranches=false -usesCrowdInUploadWithFilteredBranches=false +curseId=522992 +usesCurse=true +usesCrowdin=false useDefaultTestSystem=false runtimeSourceSets=main projectHasApi=false primaryJarClassifier= -isFMLLibrary=false +usesSonarQube=false diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 7454180f..41d9927a 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e750102e..aa991fce 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index c53aefaa..1b6c7873 100755 --- a/gradlew +++ b/gradlew @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright © 2015-2021 the original authors. +# Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -32,10 +32,10 @@ # Busybox and similar reduced shells will NOT work, because this script # requires all of these POSIX shell features: # * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». # # Important for patching: # diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 00000000..437a7b06 --- /dev/null +++ b/settings.gradle @@ -0,0 +1,4 @@ +gradle.startParameter.setProjectProperties(new HashMap<>(gradle.startParameter.getProjectProperties())) +gradle.startParameter.getProjectProperties().put("build.start", Long.toString(System.currentTimeMillis())) + +rootProject.name = "blockui" \ No newline at end of file