mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Fix for new FML, and publish to maven local
This commit is contained in:
1 parent
74104fe5d0
commit
e9af710cf4
2 files changed
+2
-6
No files matched your search
@@ -18,6 +18,7 @@ apply plugin: 'maven'
|
||||
apply plugin: 'forgedev'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
flatDir {
|
||||
name "fileRepo"
|
||||
dirs "repo"
|
||||
@@ -103,6 +104,7 @@ uploadArchives {
|
||||
} else {
|
||||
logger.info('Publishing to repo folder')
|
||||
|
||||
add project.repositories.mavenLocal()
|
||||
mavenDeployer {
|
||||
repository(url: 'file://localhost/' + project.file('repo').getAbsolutePath())
|
||||
}
|
||||
|
||||
@@ -10,12 +10,6 @@ public class FMLForgePlugin implements IFMLLoadingPlugin
|
||||
public static boolean RUNTIME_DEOBF = false;
|
||||
public static File forgeLocation;
|
||||
|
||||
@Override
|
||||
public String[] getLibraryRequestClass()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getASMTransformerClass()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user