mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Update Fabric stuff
This commit is contained in:
parent
96985c09d6
commit
a748f3f958
24
build.gradle
24
build.gradle
@ -1,13 +1,12 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'org.kohsuke:github-api:1.321'
|
classpath "org.kohsuke:github-api:1.321"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '1.6-SNAPSHOT'
|
id "fabric-loom" version "1.6-SNAPSHOT"
|
||||||
id 'maven-publish'
|
id "com.diffplug.spotless" version "6.25.0"
|
||||||
id 'com.diffplug.spotless' version '6.25.0'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
@ -85,23 +84,6 @@ spotless {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// configure the maven publication
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
create("mavenJava", MavenPublication) {
|
|
||||||
from components.java
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
|
|
||||||
repositories {
|
|
||||||
// Add repositories to publish to here.
|
|
||||||
// Notice: This block does NOT have the same function as the block in the top level.
|
|
||||||
// The repositories here will be used for publishing your artifact, not for
|
|
||||||
// retrieving dependencies.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
task moveDevLibs(dependsOn: [remapJar, remapSourcesJar]) {
|
task moveDevLibs(dependsOn: [remapJar, remapSourcesJar]) {
|
||||||
doLast {
|
doLast {
|
||||||
ant.move(file:"${project.buildDir}/devlibs/${archivesBaseName}-${version}-dev.jar", tofile:"${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar")
|
ant.move(file:"${project.buildDir}/devlibs/${archivesBaseName}-${version}-dev.jar", tofile:"${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar")
|
||||||
|
@ -6,11 +6,11 @@ org.gradle.parallel=true
|
|||||||
# check these at https://fabricmc.net/develop/ and
|
# check these at https://fabricmc.net/develop/ and
|
||||||
# https://modrinth.com/mod/fabric-api/versions
|
# https://modrinth.com/mod/fabric-api/versions
|
||||||
minecraft_version=1.20.6
|
minecraft_version=1.20.6
|
||||||
yarn_mappings=1.20.6+build.1
|
yarn_mappings=1.20.6+build.3
|
||||||
loader_version=0.15.11
|
loader_version=0.15.11
|
||||||
|
|
||||||
# Fabric API
|
# Fabric API
|
||||||
fabric_version=0.98.0+1.20.6
|
fabric_version=0.99.0+1.20.6
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = v7.43pre2-MC1.20.6
|
mod_version = v7.43pre2-MC1.20.6
|
||||||
|
Loading…
Reference in New Issue
Block a user