move values to properties file

This commit is contained in:
octarine-noise
2018-10-25 10:03:56 +02:00
parent fe3030ef77
commit 0997b83367
2 changed files with 13 additions and 6 deletions

View File

@@ -1,12 +1,9 @@
apply plugin: "net.minecraftforge.gradle.forge" apply plugin: "net.minecraftforge.gradle.forge"
apply plugin: 'kotlin' apply plugin: 'kotlin'
group = 'com.github.octarine-noise' archivesBaseName = jarName
version = "2.1.11"
archivesBaseName = rootProject.name + '-MC1.10.2'
buildscript { buildscript {
ext.kotlin_version = '1.1.1'
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven {
@@ -32,8 +29,8 @@ dependencies {
shade "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" shade "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
} }
minecraft { minecraft {
version = '1.10.2-12.18.2.2121' version = mc_version + "-" + forge_version
mappings = 'snapshot_20160905' mappings = mcp_mappings
runDir = 'run' runDir = 'run'
} }

10
gradle.properties Normal file
View File

@@ -0,0 +1,10 @@
group = com.github.octarine-noise
jarName = BetterFoliage-MC1.10.2
version = 2.2.0
mc_version = 1.10.2
forge_version = 12.18.2.2121
mcp_mappings = snapshot_20160905
kotlin_version = 1.1.1