65 lines
No EOL
1.1 KiB
Groovy
65 lines
No EOL
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'se.koc:zutil:1.0.253'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
testImplementation 'org.hamcrest:hamcrest-core:2.2'
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs 'src'
|
|
}
|
|
resources {
|
|
srcDir 'resource'
|
|
}
|
|
}
|
|
test {
|
|
java {
|
|
srcDirs 'test'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// ------------------------------------
|
|
// Hal core configuration
|
|
// ------------------------------------
|
|
|
|
dependencies {
|
|
implementation 'org.xerial:sqlite-jdbc:3.32.3.2'
|
|
}
|
|
|
|
distributions {
|
|
main {
|
|
contents {
|
|
from 'hal.conf.example'
|
|
from 'hal-default.db'
|
|
from 'logging.properties'
|
|
}
|
|
}
|
|
}
|
|
|
|
// ------------------------------------
|
|
// Hal plugin common configuration
|
|
// ------------------------------------
|
|
|
|
subprojects {
|
|
dependencies {
|
|
implementation project(':')
|
|
}
|
|
} |