Moved Sedna etc. to separate mod we depend on.
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 Florian "Sangar" Nücke
|
||||
Copyright (c) 2020-2021 Florian "Sangar" Nücke
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
25
build.gradle
25
build.gradle
@@ -44,11 +44,6 @@ archivesBaseName = "${mod_name}-MC${minecraft_version}"
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
configurations {
|
||||
embed
|
||||
implementation.extendsFrom embed
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url "http://dvs1.progwml6.com/files/maven" } // JEI
|
||||
@@ -60,13 +55,17 @@ dependencies {
|
||||
|
||||
compileOnly 'org.jetbrains:annotations:16.0.2'
|
||||
|
||||
embed('li.cil.ceres:ceres:0.0.2+') { transitive = false }
|
||||
embed('li.cil.sedna:sedna:0.0.1+') { transitive = false }
|
||||
embed('li.cil.sedna:sedna-buildroot:0.0.1+') { transitive = false }
|
||||
implementation 'li.cil.ceres:ceres:0.0.2+18'
|
||||
implementation 'li.cil.sedna:sedna:0.0.1+83'
|
||||
implementation 'li.cil.sedna:sedna-buildroot:0.0.1+'
|
||||
implementation 'li.cil.oc2:oc2-sedna:0.0.1+'
|
||||
|
||||
compileOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}:api")
|
||||
runtimeOnly fg.deobf("mezz.jei:jei-${minecraft_version}:${jei_version}")
|
||||
|
||||
testImplementation 'li.cil.ceres:ceres:0.0.2+18'
|
||||
testImplementation 'li.cil.sedna:sedna:0.0.1+83'
|
||||
|
||||
testImplementation "org.mockito:mockito-core:2.+"
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
|
||||
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
|
||||
@@ -77,13 +76,13 @@ processResources {
|
||||
include 'META-INF/mods.toml'
|
||||
|
||||
expand([
|
||||
'mod_id' : mod_id,
|
||||
'mod_version' : version,
|
||||
'mod_name' : mod_name,
|
||||
'mod_url' : mod_url,
|
||||
'mod_issues_url' : mod_issues_url,
|
||||
'forge_version_min' : forge_version_min,
|
||||
'minecraft_version_min': minecraft_version_min
|
||||
'minecraft_version_min': minecraft_version_min,
|
||||
'oc2_sedna_version_min': oc2_sedna_version_min
|
||||
])
|
||||
}
|
||||
}
|
||||
@@ -139,12 +138,6 @@ minecraft {
|
||||
jar {
|
||||
finalizedBy 'reobfJar'
|
||||
|
||||
configurations.embed.each {
|
||||
from(project.zipTree(it)) {
|
||||
exclude 'META-INF', 'META-INF/**'
|
||||
}
|
||||
}
|
||||
|
||||
manifest {
|
||||
attributes([
|
||||
"Specification-Title" : "oc2",
|
||||
|
||||
@@ -19,6 +19,8 @@ version_major=0
|
||||
version_minor=0
|
||||
version_patch=1
|
||||
|
||||
oc2_sedna_version_min=0.0.1
|
||||
|
||||
jei_version=7.6.0.58
|
||||
|
||||
curse.project.id=0
|
||||
|
||||
@@ -4,7 +4,7 @@ issueTrackerURL = "${mod_issues_url}"
|
||||
license = "MIT"
|
||||
|
||||
[[mods]]
|
||||
modId = "${mod_id}"
|
||||
modId = "oc2"
|
||||
version = "${mod_version}"
|
||||
displayName = "${mod_name}"
|
||||
displayURL = "${mod_url}"
|
||||
@@ -14,15 +14,21 @@ description = '''
|
||||
Modern computers for the modern player.
|
||||
'''
|
||||
|
||||
[[dependencies.scannable]]
|
||||
[[dependencies.oc2]]
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[${forge_version_min},)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
[[dependencies.scannable]]
|
||||
[[dependencies.oc2]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[${minecraft_version_min}]"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
[[dependencies.oc2]]
|
||||
modId = "oc2-sedna"
|
||||
mandatory = true
|
||||
versionRange = "[${oc2_sedna_version_min}]"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
Reference in New Issue
Block a user