-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
asbyth
committed
Mar 22, 2020
1 parent
1353319
commit 89915d2
Showing
11 changed files
with
787 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# eclipse | ||
eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# idea | ||
out | ||
classes | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# gradle | ||
build | ||
.gradle | ||
|
||
#Netbeans | ||
.nb-gradle | ||
.nb-gradle-properties | ||
|
||
# other | ||
run | ||
.DS_Store | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { | ||
name = "forge" | ||
url = "https://files.minecraftforge.net/maven" | ||
} | ||
|
||
flatDir dirs: 'libs' | ||
} | ||
dependencies { | ||
classpath "net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT" | ||
} | ||
} | ||
|
||
apply plugin: "net.minecraftforge.gradle.forge" | ||
|
||
version = modVersion | ||
group = modGroup | ||
archivesBaseName = modBaseName | ||
|
||
sourceCompatibility = targetCompatibility = 1.8 | ||
compileJava.options.encoding = 'UTF-8' | ||
|
||
minecraft { | ||
version = project.forgeVersion | ||
runDir = "run" | ||
|
||
// the mappings can be changed at any time, and must be in the following format. | ||
// snapshot_YYYYMMDD snapshot are built nightly. | ||
// stable_# stables are built at the discretion of the MCP team. | ||
// Use non-default mappings at your own risk. they may not always work. | ||
// simply re-run your setup task after changing the mappings to update your workspace. | ||
mappings = project.mcpVersion | ||
makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. | ||
} | ||
|
||
dependencies { | ||
provided files("libs/modcore.jar") | ||
} | ||
|
||
task moveResources { | ||
doLast { | ||
ant.move file: "${buildDir}/resources/main", | ||
todir: "${buildDir}/classes/java" | ||
} | ||
} | ||
|
||
moveResources.dependsOn processResources | ||
classes.dependsOn moveResources | ||
|
||
processResources { | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
|
||
// replace stuff in mcmod.info, nothing else | ||
from(sourceSets.main.resources.srcDirs) { | ||
include "mcmod.info" | ||
|
||
// replace version and mcversion | ||
expand "version": project.version, "mcversion": project.minecraft.version | ||
} | ||
|
||
// copy everything else, thats not the mcmod.info | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude "mcmod.info" | ||
} | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes "FMLCorePlugin": "club.sk1er.uhcstars.tweaker.UHCStarsTweaker", | ||
"ModSide": "CLIENT", | ||
"FMLCorePluginContainsFMLMod": "Yes, yes it does" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
modGroup=club.sk1er | ||
modVersion=2.0 | ||
modBaseName=UHC Stars | ||
forgeVersion=1.8.9-11.15.1.2318-1.8.9 | ||
mcpVersion=stable_22 | ||
|
||
org.gradle.daemon=true | ||
org.gradle.parallel=true | ||
org.gradle.configureoncommand=true | ||
org.gradle.parallel.threads=4 | ||
org.gradle.jvmargs=-Xmx6G |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sat Jan 11 10:31:12 EST 2020 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
mod_id=Sk1er-UHCstars | ||
display_name=Hypixel Stars Mod | ||
not_complete=false | ||
not_complete=false | ||
hide=false |
Oops, something went wrong.