KubeJS
This commit is contained in:
+27
-14
@@ -4,9 +4,6 @@ buildscript {
|
||||
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
@@ -15,8 +12,6 @@ plugins {
|
||||
id 'net.minecraftforge.gradle' version '[6.0.16,6.2)'
|
||||
}
|
||||
|
||||
apply plugin: 'org.spongepowered.mixin'
|
||||
|
||||
group = mod_group_id
|
||||
version = mod_version
|
||||
|
||||
@@ -121,12 +116,6 @@ minecraft {
|
||||
}
|
||||
}
|
||||
|
||||
mixin {
|
||||
add sourceSets.main, "${mod_id}.refmap.json"
|
||||
|
||||
config "${mod_id}.mixins.json"
|
||||
}
|
||||
|
||||
// Include resources generated by data generators.
|
||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||
|
||||
@@ -143,6 +132,30 @@ repositories {
|
||||
maven {
|
||||
url = "https://maven.blamejared.com"
|
||||
}
|
||||
|
||||
maven {
|
||||
url "https://maven.latvian.dev/releases"
|
||||
content {
|
||||
includeGroup "dev.latvian.mods"
|
||||
includeGroup "dev.latvian.apps"
|
||||
}
|
||||
}
|
||||
|
||||
maven {
|
||||
url 'https://jitpack.io'
|
||||
content {
|
||||
includeGroup "com.github.rtyley"
|
||||
}
|
||||
}
|
||||
|
||||
maven {
|
||||
url = "https://maven.architectury.dev/"
|
||||
}
|
||||
|
||||
// Recommended: KubeJS / LatvianModder dependencies
|
||||
maven {
|
||||
url = "https://maven.saps.dev/releases"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -161,6 +174,9 @@ dependencies {
|
||||
|
||||
implementation fg.deobf("net.darkhax.gamestages:GameStages-Forge-1.20.1:15.0.2")
|
||||
implementation fg.deobf("net.darkhax.bookshelf:Bookshelf-Forge-1.20.1:20.2.15")
|
||||
implementation fg.deobf("dev.latvian.mods:kubejs-forge:$kubejs_version")
|
||||
implementation fg.deobf("dev.latvian.mods:rhino-forge:${rhino_version}")
|
||||
implementation fg.deobf("dev.architectury:architectury-forge:9.2.14")
|
||||
// Example mod dependency using a mod jar from ./libs with a flat dir repository
|
||||
// This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar
|
||||
// The group id is ignored when searching -- in this case, it is "blank"
|
||||
@@ -169,9 +185,6 @@ dependencies {
|
||||
// For more info:
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
|
||||
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
|
||||
|
||||
}
|
||||
|
||||
// This block of code expands all declared replace properties in the specified resource targets.
|
||||
|
||||
Reference in New Issue
Block a user