mirror of
https://github.com/GTNewHorizons/MouseTweaks.git
synced 2026-11-23 13:30:02 +00:00
Cleanup, new ForgeGradle, target the new Forge.
This commit is contained in:
1 parent
de9258b29a
commit
8cd22558f9
4 files changed
+12
-77
No files matched your search
+10
-5
@@ -11,31 +11,36 @@ buildscript {
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT'
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "2.4.1"
|
||||
group= "yalter.mousetweaks" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
group = "yalter.mousetweaks" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "MouseTweaks"
|
||||
|
||||
minecraft {
|
||||
version = "1.7.2-10.12.0.1039"
|
||||
version = "1.7.2-10.12.1.1110"
|
||||
assetDir = "eclipse/assets"
|
||||
}
|
||||
|
||||
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'
|
||||
include 'litemod.json'
|
||||
|
||||
|
||||
// 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'
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+2
-2
@@ -1,6 +1,6 @@
|
||||
#Sat Mar 08 15:45:41 MSK 2014
|
||||
#Tue May 06 21:57:37 CEST 2014
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip
|
||||
@@ -1,70 +0,0 @@
|
||||
package yalter.mousetweaks;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import net.minecraft.client.gui.GuiScreen;
|
||||
|
||||
import com.mumfrey.liteloader.RenderListener;
|
||||
|
||||
public class LiteModMouseTweaks implements RenderListener
|
||||
{
|
||||
private static LiteModMouseTweaks instance;
|
||||
|
||||
public static LiteModMouseTweaks getInstance()
|
||||
{
|
||||
if ( instance == null )
|
||||
{
|
||||
instance = new LiteModMouseTweaks();
|
||||
}
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
public LiteModMouseTweaks()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
{
|
||||
return Constants.NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getVersion()
|
||||
{
|
||||
return Constants.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRender()
|
||||
{
|
||||
Main.onUpdateInGame();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRenderGui( GuiScreen currentScreen )
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRenderWorld()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSetupCameraTransform()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init( File configPath )
|
||||
{
|
||||
Main.initialise();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void upgradeSettings( String version, File configPath, File oldConfigPath )
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user