Fixed build dependency issues by moving hal core into hal-core folder/subproject
This commit is contained in:
parent
f1da2c5a4d
commit
ded778fd11
138 changed files with 195 additions and 183 deletions
30
build.gradle
30
build.gradle
|
|
@ -3,14 +3,20 @@ plugins {
|
|||
id 'application'
|
||||
}
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'java'
|
||||
// ------------------------------------
|
||||
// Hal common configuration
|
||||
// ------------------------------------
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'java-library'
|
||||
|
||||
dependencies {
|
||||
implementation 'se.koc:zutil:1.0.0-SNAPSHOT'
|
||||
|
|
@ -41,7 +47,9 @@ allprojects {
|
|||
// ------------------------------------
|
||||
|
||||
dependencies {
|
||||
implementation 'org.xerial:sqlite-jdbc:3.32.3.2'
|
||||
project.subprojects.each { subProject ->
|
||||
runtime subProject
|
||||
}
|
||||
}
|
||||
|
||||
distributions {
|
||||
|
|
@ -50,26 +58,10 @@ distributions {
|
|||
from 'hal.conf.example'
|
||||
from 'hal-default.db'
|
||||
from 'logging.properties'
|
||||
|
||||
project.subprojects.each { sub ->
|
||||
into('lib') {
|
||||
from sub.jar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = 'se.hal.HalServer'
|
||||
}
|
||||
|
||||
// ------------------------------------
|
||||
// Hal plugin common configuration
|
||||
// ------------------------------------
|
||||
|
||||
subprojects {
|
||||
dependencies {
|
||||
implementation project(':')
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue