Cobblemon Dependency Fix
This commit is contained in:
51
build.gradle.kts
Normal file
51
build.gradle.kts
Normal file
@@ -0,0 +1,51 @@
|
||||
plugins {
|
||||
id("java")
|
||||
id("dev.architectury.loom") version("1.7-SNAPSHOT")
|
||||
id("architectury-plugin") version("3.4-SNAPSHOT")
|
||||
kotlin("jvm") version ("1.9.23")
|
||||
}
|
||||
|
||||
group = "org.example"
|
||||
version = "1.0.0-SNAPSHOT"
|
||||
|
||||
architectury {
|
||||
platformSetupLoomIde()
|
||||
fabric()
|
||||
}
|
||||
|
||||
loom {
|
||||
silentMojangMappingsLicense()
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven(url = "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/")
|
||||
maven("https://maven.impactdev.net/repository/development/")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft("net.minecraft:minecraft:1.21.1")
|
||||
mappings(loom.officialMojangMappings())
|
||||
modImplementation("net.fabricmc:fabric-loader:0.16.5")
|
||||
|
||||
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:0.104.0+1.21.1")
|
||||
modImplementation(fabricApi.module("fabric-command-api-v2", "0.104.0+1.21.1"))
|
||||
|
||||
modImplementation("net.fabricmc:fabric-language-kotlin:1.12.3+kotlin.2.0.21")
|
||||
modImplementation("com.cobblemon:fabric:1.6.1+1.21.1-SNAPSHOT")
|
||||
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0")
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0")
|
||||
}
|
||||
|
||||
tasks.getByName<Test>("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
inputs.property("version", project.version)
|
||||
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand(project.properties)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user