Skip to content

Commit

Permalink
Bump gradle and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightenom committed Jun 8, 2022
1 parent 800755e commit 805b6e9
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 46 deletions.
26 changes: 3 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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)
30 changes: 13 additions & 17 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions gradlew
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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:
#
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 805b6e9

Please sign in to comment.