mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-27 15:33:12 +00:00
Split "api" into one api module for every module
This commit is contained in:
1 parent
8600dc9e66
commit
ef90f2228b
87 files changed
+44
-18
No files matched your search
+5
-5
@@ -1,9 +1,9 @@
|
||||
archivesBaseName = 'all-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":botany")
|
||||
compile project(":core")
|
||||
compile project(":extrabees")
|
||||
compile project(":extratrees")
|
||||
compile project(":genetics")
|
||||
runtimeOnly project(":botany")
|
||||
runtimeOnly project(":core")
|
||||
runtimeOnly project(":extrabees")
|
||||
runtimeOnly project(":extratrees")
|
||||
runtimeOnly project(":genetics")
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
archivesBaseName = 'api-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core").sourceSets.api.output
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
archivesBaseName = 'botany-api-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core-api")
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
-1
@@ -1,8 +1,9 @@
|
||||
archivesBaseName = 'botany-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":api")
|
||||
compile project(":core")
|
||||
compile project(":botany-api")
|
||||
compile project(":extratrees-api")
|
||||
|
||||
// TODO: remove
|
||||
compile project(":extratrees")
|
||||
|
||||
+2
-1
@@ -98,7 +98,8 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
def mainProjects = [':api', ':botany', ':core', ':extrabees', ':extratrees', ':genetics'].collect{ subproject -> project(subproject) }
|
||||
def mainProjects = [':core', ':core-api', ':botany', ':botany-api', ':extrabees', 'extrabees-api', ':extratrees', 'extratrees-api', ':genetics', 'genetics-api']
|
||||
.collect{ subproject -> project(subproject) }
|
||||
mainProjects.each { subproject -> evaluationDependsOn( subproject.path ) }
|
||||
jar.dependsOn mainProjects.tasks['classes']
|
||||
jar {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
archivesBaseName = 'core-api-' + mcversion
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1 +1,5 @@
|
||||
archivesBaseName = 'core-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core-api")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
archivesBaseName = 'extrabees-api-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core-api")
|
||||
}
|
||||
File renamed without changes.
@@ -1,6 +1,7 @@
|
||||
archivesBaseName = 'extrabees-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":api")
|
||||
compile project(":core")
|
||||
compile project(":core-api")
|
||||
compile project(":extrabees-api")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
archivesBaseName = 'extratrees-api-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core-api")
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,7 +1,8 @@
|
||||
archivesBaseName = 'extratrees-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":api")
|
||||
compile project(":core")
|
||||
compile project(":core_api")
|
||||
compile project(":core-api")
|
||||
compile project(":extratrees-api")
|
||||
compile project(":botany-api")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
archivesBaseName = 'genetics-api-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":core-api")
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,10 +1,12 @@
|
||||
archivesBaseName = 'genetics-' + mcversion
|
||||
|
||||
dependencies {
|
||||
compile project(":api")
|
||||
compile project(":core")
|
||||
compile project(":genetics-api")
|
||||
|
||||
// TODO: remove these
|
||||
// TODO: remove these, they should add on to genetics instead
|
||||
compile project(":botany")
|
||||
compile project(":botany-api")
|
||||
compile project(":extrabees-api")
|
||||
compile project(":extratrees")
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
rootProject.name = 'binnie-mods-' + mcversion
|
||||
|
||||
include ':all', ':api', ':core', ':core_api', ':botany', ':extrabees', ':extratrees', ':genetics'
|
||||
include ':all', ':core', ':core-api', ':botany', ':botany-api', ':extrabees', 'extrabees-api', ':extratrees', 'extratrees-api', ':genetics', 'genetics-api'
|
||||
Reference in new issue
Block a user