b4cdcb9729
- Fixed compat crash when tooltips are loaded early - Buffed all sources - Render buffers are now cleared when loading a world. Might help with shader issues - Fixed eager loading of biomes in ore features - Kinetic blocks now always clear their source when placed (needs testing) - Kinetic blocks now remember their applied stress to a network before a config change - Chassis range is now displayed with an overlay instead of outlines - Crushing wheels are now more lenient about having different speeds - Crushing wheels no longer pull players in peaceful mode - Mixers no longer ignore items inserted during processing - Powered Latch now reacts to weak power on the sides - Fixed flexcrates not updating their inventory properly when extended
116 lines
No EOL
3.3 KiB
Groovy
116 lines
No EOL
3.3 KiB
Groovy
buildscript {
|
|
repositories {
|
|
maven { url = 'https://files.minecraftforge.net/maven' }
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
|
|
}
|
|
}
|
|
apply plugin: 'net.minecraftforge.gradle'
|
|
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'maven-publish'
|
|
|
|
version = 'mc1.14.4_v0.2.1'
|
|
group = 'com.simibubi.create'
|
|
archivesBaseName = 'create'
|
|
|
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
|
|
|
|
minecraft {
|
|
mappings channel: 'snapshot', version: '20200119-1.14.3'
|
|
|
|
runs {
|
|
client {
|
|
workingDirectory project.file('run')
|
|
property 'forge.logging.console.level', 'info'
|
|
mods {
|
|
create {
|
|
source sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
|
|
server {
|
|
workingDirectory project.file('run/server')
|
|
property 'forge.logging.console.level', 'info'
|
|
mods {
|
|
create {
|
|
source sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
|
|
data {
|
|
workingDirectory project.file('run')
|
|
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
|
property 'forge.logging.console.level', 'debug'
|
|
args '--mod', 'create', '--all', '--output', file('src/generated/resources/')
|
|
mods {
|
|
create {
|
|
source sourceSets.main
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
// location of the maven that hosts JEI files
|
|
name = "Progwml6 maven"
|
|
url = "https://dvs1.progwml6.com/files/maven/"
|
|
}
|
|
maven {
|
|
// location of a maven mirror for JEI files, as a fallback
|
|
name = "ModMaven"
|
|
url = "https://modmaven.k-4u.nl"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
minecraft 'net.minecraftforge:forge:1.14.4-28.2.3'
|
|
|
|
// compile against the JEI API but do not include it at runtime
|
|
compileOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.26:api")
|
|
// at runtime, use the full JEI jar
|
|
runtimeOnly fg.deobf("mezz.jei:jei-1.14.4:6.0.0.26")
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes([
|
|
"Specification-Title": "create",
|
|
"Specification-Vendor": "simibubi",
|
|
"Specification-Version": "1",
|
|
"Implementation-Title": project.name,
|
|
"Implementation-Version": "${version}",
|
|
"Implementation-Vendor" :"simibubi",
|
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
|
])
|
|
}
|
|
}
|
|
|
|
// Example configuration to allow publishing using the maven-publish task
|
|
// we define a custom artifact that is sourced from the reobfJar output task
|
|
// and then declare that to be published
|
|
// Note you'll need to add a repository here
|
|
def reobfFile = file("$buildDir/reobfJar/output.jar")
|
|
def reobfArtifact = artifacts.add('default', reobfFile) {
|
|
type 'jar'
|
|
builtBy 'reobfJar'
|
|
}
|
|
publishing {
|
|
publications {
|
|
mavenJava(MavenPublication) {
|
|
artifact reobfArtifact
|
|
}
|
|
}
|
|
repositories {
|
|
maven {
|
|
url "file:///${project.projectDir}/mcmodsrepo"
|
|
}
|
|
}
|
|
} |