-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
2,181 additions
and
2,441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Java CI | ||
name: CI | ||
|
||
on: | ||
push: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
plugins { | ||
kotlin("jvm") version "1.9.23" | ||
id("com.github.johnrengelman.shadow") version "8.1.1" | ||
id("net.minecrell.plugin-yml.bukkit") version "0.6.0" | ||
} | ||
|
||
group = "net.guizhanss" | ||
version = "UNOFFICIAL" | ||
description = "UltimateGenerators2" | ||
|
||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/") | ||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") | ||
maven("https://jitpack.io") | ||
} | ||
|
||
val spigotVersion = "1.20.4-R0.1-SNAPSHOT" | ||
val slimefunVersion = "RC-37" | ||
val slimefunTranslationVersion = "e03b01a7b7" | ||
val guizhanLibVersion = "1.7.6" | ||
val bstatsVersion = "3.0.2" | ||
|
||
dependencies { | ||
compileOnly("org.spigotmc:spigot-api:${spigotVersion}") | ||
compileOnly("com.github.Slimefun:Slimefun4:${slimefunVersion}") | ||
compileOnly("net.guizhanss:SlimefunTranslation:${slimefunTranslationVersion}") | ||
implementation("net.guizhanss:GuizhanLib-api:${guizhanLibVersion}") | ||
implementation("org.bstats:bstats-bukkit:${bstatsVersion}") | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(17) | ||
} | ||
|
||
tasks.compileKotlin { | ||
kotlinOptions.javaParameters = true | ||
} | ||
|
||
tasks.shadowJar { | ||
fun doRelocate(from: String) { | ||
val last = from.split(".").last() | ||
relocate(from, "net.guizhanss.ultimategenerators2.libs.$last") | ||
} | ||
doRelocate("net.guizhanss.guizhanlib") | ||
doRelocate("org.bstats") | ||
minimize() | ||
archiveClassifier = "" | ||
} | ||
|
||
bukkit { | ||
main = "net.guizhanss.ultimategenerators2.UltimateGenerators2" | ||
apiVersion = "1.16" | ||
authors = listOf("ybw0014") | ||
description = "A Slimefun Addon that adds various types of generators." | ||
depend = listOf("Slimefun") | ||
softDepend = listOf("GuizhanLibPlugin", "SlimefunTranslation") | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rootProject.name = "UltimateGenerators2" |
124 changes: 0 additions & 124 deletions
124
src/main/java/net/guizhanss/ultimategenerators2/UltimateGenerators2.java
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
src/main/java/net/guizhanss/ultimategenerators2/core/recipes/MachineFuel.java
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
src/main/java/net/guizhanss/ultimategenerators2/core/recipes/MachineRecipe.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/java/net/guizhanss/ultimategenerators2/core/recipes/SingleMachineRecipe.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/java/net/guizhanss/ultimategenerators2/core/recipes/SingleOutputMachineRecipe.java
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
src/main/java/net/guizhanss/ultimategenerators2/core/services/ConfigurationService.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.