Skip to content

Commit c3267be

Browse files
committed
teste com forgelin
1 parent 0d180c7 commit c3267be

File tree

17 files changed

+168
-118
lines changed

17 files changed

+168
-118
lines changed

addon.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apply plugin: 'org.jetbrains.kotlin.jvm'
2+
apply plugin: 'com.github.gmazzo.buildconfig'
3+
4+
compileKotlin {
5+
kotlinOptions {
6+
jvmTarget = 1.8
7+
}
8+
}
9+
10+
buildConfig {
11+
packageName(project.modGroup)
12+
className('ModTags')
13+
buildConfigField('String', 'MODID', "\"${project.modId}\"")
14+
buildConfigField('String', 'MODNAME', "\"${project.modName}\"")
15+
buildConfigField('String', 'VERSION', "\"${project.modVersion}\"")
16+
buildConfigField('String', 'GROUPNAME', "\"${project.modGroup}\"")
17+
useKotlinOutput { topLevelConstants = true }
18+
}

dependencies.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,16 @@
3434
* For more details, see https://docs.gradle.org/8.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph
3535
*/
3636
dependencies {
37-
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
37+
api("com.github.GTNewHorizons:Forgelin:1.10.0-GTNH")
38+
39+
shadowImplementation("org.jetbrains.exposed:exposed-core:0.53.0") {
40+
exclude module: "slf4j-api"
41+
}
42+
shadowImplementation("org.jetbrains.exposed:exposed-jdbc:0.53.0")
43+
shadowImplementation("org.jetbrains.exposed:exposed-dao:0.53.0")
44+
shadowImplementation("org.mariadb.jdbc:mariadb-java-client:3.3.1")
45+
46+
api("org.apache.logging.log4j:log4j-core:2.23.1")
47+
api("org.apache.logging.log4j:log4j-api:2.23.1")
48+
shadowImplementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.23.1")
3849
}

gradle.properties

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ accessTransformersFile =
7676
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
7777
usesMixins = false
7878

79+
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
80+
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
81+
# Mixin classes will have access to "main" classes, but not the other way around.
82+
separateMixinSourceSet =
83+
7984
# Adds some debug arguments like verbose output and class export.
8085
usesMixinDebug = false
8186

@@ -99,18 +104,24 @@ forceEnableMixins = false
99104

100105
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated into your jar. It is your
101106
# responsibility to check the license and request permission for distribution if required.
102-
usesShadowedDependencies = false
107+
usesShadowedDependencies = true
103108

104109
# If disabled, won't remove unused classes from shadowed dependencies. Some libraries use reflection to access
105110
# their own classes, making the minimization unreliable.
106-
minimizeShadowedDependencies = true
111+
minimizeShadowedDependencies = false
107112

108113
# If disabled, won't rename the shadowed classes.
109-
relocateShadowedDependencies = true
114+
relocateShadowedDependencies = false
110115

111-
# Adds the GTNH maven, CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
116+
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
112117
includeWellKnownRepositories = true
113118

119+
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
120+
# list of strings, with the acceptable keys being(case does not matter):
121+
# cursemaven
122+
# modrinth
123+
excludeWellKnownRepositories =
124+
114125
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
115126
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
116127
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
@@ -164,10 +175,10 @@ curseForgeRelations =
164175
# Uncomment this to disable Spotless checks.
165176
# This should only be uncommented to keep it easier to sync with upstream/other forks.
166177
# That is, if there is no other active fork/upstream, NEVER change this.
167-
# disableSpotless = true
178+
disableSpotless = true
168179

169180
# Uncomment this to disable Checkstyle checks (currently wildcard import check).
170-
# disableCheckstyle = true
181+
disableCheckstyle = true
171182

172183
# Override the IDEA build type. Valid values are: "" (leave blank, do not override), "idea" (force use native IDEA build), "gradle"
173184
# (force use delegated build).

gradle/wrapper/gradle-wrapper.jar

42 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

repositories.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Add any additional repositories for your dependencies here.
22

33
repositories {
4-
4+
mavenCentral()
55
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ pluginManagement {
1717
}
1818

1919
plugins {
20-
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.24'
20+
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.26'
2121
}

src/main/java/com/fardragi/dragiutils/ClientProxy.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)