mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-04 09:19:33 +01:00
added building
This commit is contained in:
parent
54afeea5d0
commit
5c7810eea6
30
build.gradle
30
build.gradle
@ -9,6 +9,13 @@ archivesBaseName = project.archives_base_name
|
|||||||
version = project.mod_version
|
version = project.mod_version
|
||||||
group = project.maven_group
|
group = project.maven_group
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
include
|
||||||
|
|
||||||
|
implementation.extendsFrom include
|
||||||
|
api.extendsFrom include
|
||||||
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -32,16 +39,16 @@ dependencies {
|
|||||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||||
|
|
||||||
implementation "com.github.FlorianMichael:ViaLoadingBase:${project.vialoadingbase_version}"
|
include "com.github.FlorianMichael:ViaLoadingBase:${project.vialoadingbase_version}"
|
||||||
|
|
||||||
implementation "com.viaversion:viaversion:${project.viaversion_version}"
|
include "com.viaversion:viaversion:${project.viaversion_version}"
|
||||||
implementation "com.viaversion:viabackwards-common:${project.viabackwards_version}"
|
include "com.viaversion:viabackwards-common:${project.viabackwards_version}"
|
||||||
implementation "org.yaml:snakeyaml:1.29"
|
include "org.yaml:snakeyaml:1.29"
|
||||||
|
|
||||||
implementation "com.github.RaphiMC:ViaLegacy:${project.vialegacy_version}"
|
include "com.github.RaphiMC:ViaLegacy:${project.vialegacy_version}"
|
||||||
implementation "com.github.RaphiMC:ViaAprilFools:${project.viaaprilfools_version}"
|
include "com.github.RaphiMC:ViaAprilFools:${project.viaaprilfools_version}"
|
||||||
|
|
||||||
implementation "net.lenni0451.mcstructs:text:${project.mcstructs_text_version}"
|
include "net.lenni0451.mcstructs:text:${project.mcstructs_text_version}"
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
@ -61,6 +68,15 @@ java {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
dependsOn configurations.include
|
||||||
|
from {
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
configurations.include.collect {
|
||||||
|
zipTree(it)
|
||||||
|
}
|
||||||
|
} {
|
||||||
|
exclude "META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA"
|
||||||
|
}
|
||||||
from("LICENSE") {
|
from("LICENSE") {
|
||||||
rename { "${it}_${project.archivesBaseName}" }
|
rename { "${it}_${project.archivesBaseName}" }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user