Skip to content

Commit

Permalink
Shadow jar version update.
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorfromhell committed Jun 11, 2024
1 parent 025807c commit 77a3db8
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 99 deletions.
8 changes: 8 additions & 0 deletions Bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ tasks {
sourceCompatibility = "17"
targetCompatibility = "17"
}

shadowJar {
archiveFileName = "TNIL-Bukkit-${project.version}-shadow.jar"

dependencies {
include(dependency(":TNIL-Core"))
}
}
}

description = "The New Item Library Bukkit"
1 change: 0 additions & 1 deletion TNIL-Fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {
}

group = property("maven_group")!!
version = property("tnil_version")!!

repositories {
// Add repositories to retrieve artifacts from in here.
Expand Down
89 changes: 0 additions & 89 deletions TNIL-Fabric/src/main/resources/build.gradle

This file was deleted.

13 changes: 5 additions & 8 deletions TNIL-Fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,20 @@
"id": "tnil-fabric",
"version": "${version}",
"name": "TNIL-Fabric",
"description": "This is an example description! Tell everyone what your mod is about!",
"description": "A library used by The New Economy for item-based operations, including calculations, removal, comparisons, and serialization of any items, including potions, shulker boxes, and other \"special\" items.",
"authors": [
"Me!"
"creatorfromhell"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
"homepage": "https://tnemc.net/",
"sources": "https://github.com/TheNewEconomy/TheNewItemLibrary"
},
"license": "CC0-1.0",
"license": "LGPLv3",
"icon": "assets/tnil-fabric/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"net.tnemc.item.fabric.TNILFabric"
],
"client": [
"net.tnemc.TNILFabricClient"
]
},
"mixins": [
Expand Down
8 changes: 8 additions & 0 deletions TNIL-Sponge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ tasks {
sourceCompatibility = "17"
targetCompatibility = "17"
}

shadowJar {
archiveFileName = "TNIL-Sponge-${project.version}-shadow.jar"

dependencies {
include(dependency(":TNIL-Core"))
}
}
}

description = "The New Item Library Sponge"
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ subprojects {
apply(plugin = "org.cadixdev.licenser")
apply(plugin = "maven-publish")

version = property("tnil_version")!!

repositories {
mavenCentral()
maven("https://maven.fabricmc.net")
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.6+build.3
loader_version=0.15.11

# Mod Properties
tnil_version=1.0.0
tnil_version=0.1.7.4-Pre-28
maven_group=net.tnemc
archives_base_name=tnil-fabric

Expand Down

0 comments on commit 77a3db8

Please sign in to comment.