mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 19:45:14 +00:00
fix
This commit is contained in:
parent
2dc1c15172
commit
e5dd11df06
3 changed files with 13 additions and 60 deletions
61
build.gradle
61
build.gradle
|
|
@ -1,48 +1,13 @@
|
|||
//plugins {
|
||||
// id 'com.gradleup.shadow' version '8.3.8'
|
||||
// id "java"
|
||||
//}
|
||||
//
|
||||
//allprojects {
|
||||
// repositories {
|
||||
// mavenCentral()
|
||||
// maven {
|
||||
// name = "IntelliJ Release"
|
||||
// url = "https://www.jetbrains.com/intellij-repository/releases"
|
||||
// }
|
||||
// maven {
|
||||
// name = "Fabric"
|
||||
// url = "https://maven.fabricmc.net/"
|
||||
// }
|
||||
// // 其他需要的仓库...
|
||||
//// gradlePluginPortal()
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//dependencies {
|
||||
// implementation project(':common')
|
||||
// implementation project(':fabric')
|
||||
// implementation project(':neoforge')
|
||||
//}
|
||||
//
|
||||
//// 合并所有子项目到一个胖 jar
|
||||
//shadowJar {
|
||||
// archiveBaseName.set(mod_name + '-all')
|
||||
// archiveClassifier.set('')
|
||||
// archiveVersion.set(mod_version)
|
||||
//
|
||||
// // 包含所有子项目
|
||||
// from(project(':common').sourceSets.main.output)
|
||||
// from(project(':fabric').sourceSets.main.output)
|
||||
// from(project(':neoforge').sourceSets.main.output)
|
||||
//}
|
||||
//
|
||||
//jar {
|
||||
// manifest {
|
||||
// attributes "Main-Class": "com.xujiayao.discord_mc_chat.common.Main"
|
||||
// }
|
||||
|
||||
//from("LICENSE") {
|
||||
// rename { "${it}_${inputs.properties.archivesName}" }
|
||||
//}
|
||||
//}
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = "IntelliJ Release"
|
||||
url = "https://www.jetbrains.com/intellij-repository/releases"
|
||||
}
|
||||
maven {
|
||||
name = "Fabric"
|
||||
url = "https://maven.fabricmc.net/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,14 +8,6 @@ base {
|
|||
archivesName = mod_name + "-fabric"
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Add repositories to retrieve artifacts from in here.
|
||||
// You should only use this when depending on other mods because
|
||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
||||
// for more information about repositories.
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${minecraft_version}"
|
||||
|
|
|
|||
|
|
@ -4,10 +4,6 @@ plugins {
|
|||
|
||||
version = mod_version
|
||||
|
||||
repositories {
|
||||
// Add here additional repositories if required by some of the dependencies below.
|
||||
}
|
||||
|
||||
base {
|
||||
archivesName = mod_name + "-neoforge"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue