Add comments to build.gradle and add path to subproject

This commit is contained in:
ButterscotchVanilla
2021-07-21 17:07:16 -04:00
parent 34fcbfa96f
commit 90a8abeed2
2 changed files with 6 additions and 1 deletions

View File

@@ -39,12 +39,16 @@ dependencies {
subprojects.each { subproject -> evaluationDependsOn(subproject.path) }
task serverJar (type: Jar, dependsOn: subprojects.tasks['build']) {
// Make the JAR runnable
manifest {
attributes 'Main-Class': 'io.eiren.vr.Main'
}
// Pack all dependencies within the JAR
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
// Add this project's classes in the JAR
with jar
}

View File

@@ -8,4 +8,5 @@
*/
rootProject.name = 'SlimeVR Server'
include('Slime Java Commons')
include('Slime Java Commons')
project(':Slime Java Commons').projectDir = new File(settingsDir, '../Slime Java Commons')