Merge pull request #7 from vfyjxf/1.12.2

update dev environment to 1.12.2
This commit is contained in:
vfyjxf authored and GitHub committed 2021-08-18 21:23:53 +08:00
commit a646db7b8f
33 files changed
+45 -64

No files matched your search

+38 -57
View File
@@ -2,59 +2,42 @@ buildscript {
repositories { repositories {
mavenCentral() mavenCentral()
jcenter() jcenter()
maven {
name = "forge"
url = "https://maven.minecraftforge.net"
}
maven { maven {
name = "github" name = "github"
url = "https://github.com/juanmuscaria/maven/raw/master" url = "https://github.com/juanmuscaria/maven/raw/master"
} }
maven {
name = "gt"
url = "https://gregtech.overminddl1.com/"
}
maven {
name = "jitpack"
url = "https://jitpack.io"
}
} }
dependencies { dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-1.4.4-SNAPSHOT' classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
} }
} }
apply plugin: 'java' repositories {
apply plugin: 'forge' flatDir {
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' dirs 'libs'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' }
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = mod_version version = mod_version
group = mod_group group = mod_group
archivesBaseName = mod_archives_name archivesBaseName = mod_archives_name
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft { minecraft {
version = "1.7.10-10.13.4.1614-1.7.10" version = "1.12.2-14.23.5.2847"
runDir = "eclipse" mappings = "stable_39"
replace "@VERSION@", project.version runDir = "run"
}
replace '@VERSION@', project.version
repositories { // makeObfSourceJar = false
maven {
name 'chickenbones'
url 'http://chickenbones.net/maven'
}
maven {
name = "gt"
url = "http://gregtech.overminddl1.com/"
}
flatDir {
dirs 'libs'
}
}
dependencies {
compile "codechicken:NotEnoughItems:${mc_version}-${nei_version}:universal"
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev"
compile "codechicken:CodeChickenCore:1.7.10-1.0.7.+:dev"
} }
processResources { processResources {
@@ -62,14 +45,13 @@ processResources {
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info' include 'mcmod.info'
expand 'version': project.version, expand 'version': project.version,
'mod_id': mod_id, 'mod_id': mod_id,
'mod_name': mod_name, 'mod_name': mod_name,
'mod_author': mod_author, 'mod_author': mod_author,
'mod_description': mod_description, 'mod_description': mod_description,
'mc_version': mc_version, 'mc_version': mc_version,
'mod_version': mod_version, 'mod_version': mod_version,
'mod_logo': mod_logo, 'mod_icon': mod_logo
'mod_credits': mod_credits
} }
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
@@ -77,22 +59,21 @@ processResources {
} }
} }
dependencies {
}
task devJar(type: Jar) { task devJar(type: Jar) {
classifier = 'dev' classifier = 'dev'
from sourceSets.main.output from sourceSets.main.output
} }
task sourcesJar(type: Jar) { task sourcesJar(type: Jar) {
classifier = 'sources' classifier = 'sources'
from sourceSets.main.allSource from sourceSets.main.allSource
} }
jar {
appendix project.minecraft.version
}
artifacts { artifacts {
archives devJar archives devJar
archives sourcesJar archives sourcesJar
} }
+5 -5
View File
@@ -3,11 +3,11 @@ org.gradle.jvmargs=-Xmx2G -Xms2G
org.gradle.daemon=false org.gradle.daemon=false
# General Specifications # General Specifications
mc_version=1.7.10 mc_version=1.12.2
nei_version=2.1.6-GTNH jei_version=
ae2_version=rv3-beta-52-GTNH ae2_version=
mod_version=1.2.5 mod_version=1.0.0
forge_version=10.13.4.1614 forge_version=14.23.5.2847
mod_group=com.github.vfyjxf.neenergistics mod_group=com.github.vfyjxf.neenergistics
mod_id=neenergistics mod_id=neenergistics
mod_name=NotEnoughEnergistics mod_name=NotEnoughEnergistics
Binary file not shown.
+2 -2
View File
@@ -1,6 +1,6 @@
#Wed Jul 02 15:54:47 CDT 2014 #Mon Sep 14 12:28:28 PDT 2015
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.