Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Jul 17, 2024
1 parent d0dd0b4 commit 0e67f39
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
25 changes: 8 additions & 17 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "dev.architectury.loom" version "1.5-SNAPSHOT"
id "dev.architectury.loom" version "1.6-SNAPSHOT"
id "maven-publish"
id "com.hypherionmc.modutils.modpublisher" version "2.+"
}
Expand All @@ -12,6 +12,12 @@ repositories {
maven { url "https://maven.neoforged.net/releases/" }
maven { url 'https://api.modrinth.com/maven' }
maven { url "https://www.jitpack.io" }
maven {
url "https://maven2.bai.lol"
content {
includeGroup "lol.bai"
}
}
}

dependencies {
Expand All @@ -20,7 +26,7 @@ dependencies {
neoForge "net.neoforged:neoforge:${project.neoforge_version}"

modImplementation "maven.modrinth:mafglib:${project.malilib_version}"
modLocalRuntime("com.github.ThinkingStudios:ForgedNetworkingAPI:0.1.0-mc1.20.4")
modImplementation "lol.bai:badpackets:neo-${project.badpackets_version}"

implementation "com.google.code.findbugs:jsr305:3.0.2"
}
Expand All @@ -45,21 +51,6 @@ java {
withSourcesJar()
}

jar {
// add some additional metadata to the jar manifest
manifest {
attributes([
"Specification-Title" : project.mod_id,
"Specification-Vendor" : project.mod_author,
"Specification-Version" : "1",
"Implementation-Title" : project.name,
"Implementation-Version" : version,
"Implementation-Vendor" : project.mod_author,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}
}

// configure the maven publication
publishing {
publications {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ loom.platform=neoforge
mod_version=0.1.2
maven_group=org.thinkingstudio.tweakerge
archives_base_name=Tweakerge
mod_id=tweakerge
mod_author=ThinkingStudio

modrinth_id=yke6wdGF
curseforge_id=915857

# Dependencies
malilib_version=0.1.7-mc1.20.4
malilib_version=0.1.9-mc1.20.4
badpackets_version=0.6.1
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-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 0e67f39

Please sign in to comment.