chore: package EJML in build

This commit is contained in:
Timo Ley 2024-08-27 10:52:35 +02:00
parent 60b1c9e824
commit 91a225d071
2 changed files with 12 additions and 2 deletions

View file

@ -27,6 +27,11 @@ version = "2.2.827-experimental"
group = "net.industrial-craft"
archivesBaseName = "industrialcraft-2"
configurations {
embedded
implementation.extendsFrom(embedded)
}
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "run"
@ -45,7 +50,7 @@ repositories {
}
dependencies {
implementation "org.ejml:EJML-core:0.26"
embedded "org.ejml:EJML-core:0.26"
implementation "buildcraft:buildcraft:7.1.25:dev"
implementation "codechicken:NotEnoughItems:1.7.10-1.0.5.120:dev"
implementation "codechicken:CodeChickenCore:1.7.10-1.0.7.48:dev"
@ -53,6 +58,11 @@ dependencies {
}
jar {
from (configurations.embedded.collect { it.isDirectory() ? it : zipTree(it) }) {
duplicatesStrategy = 'exclude'
exclude 'LICENSE.txt', 'META-INF/MANIFSET.MF', 'META-INF/maven/**', 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/services/*.Processor', 'META-INF/versions/**'
}
manifest {
attributes "FMLAT": "IC2_at.cfg"
attributes "FMLCorePluginContainsFMLMod": "true"

View file

@ -14,7 +14,7 @@ public class Setup implements IFMLCallHook {
private File mcDir;
public Void call() throws Exception {
Libraries.init(this.mcDir, (String) FMLInjectionData.data()[4]);
//Libraries.init(this.mcDir, (String) FMLInjectionData.data()[4]);
return null;
}