Update build scripts for re-organized multi-project build.

This commit is contained in:
Jonathan Bernard 2016-02-09 17:45:18 -06:00
parent a4d54cb05c
commit e57a63b3aa
3 changed files with 22 additions and 14 deletions

View File

@ -1,4 +1,16 @@
allprojects {
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'ch.raffael.pegdown-doclet:pegdown-doclet:1.2'
}
}
group = 'com.jdbernard'
version = 'alpha'

View File

@ -1,18 +1,9 @@
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'ch.raffael.pegdown-doclet:pegdown-doclet:1.2'
}
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'ch.raffael.pegdown-doclet'
apply plugin: 'war'
apply plugin: 'application'
mainClassName = 'com.jdbernard.wdiwtlt.cli.CommandLineInterface'
dependencies {
compile localGroovy()
@ -20,7 +11,9 @@ dependencies {
compile 'ch.qos.logback:logback-core:1.1.3'
compile 'org.slf4j:slf4j-api:1.7.14'
compile 'com.offbytwo:docopt:0.6.0.20150202'
compile project(":service")
compile 'com.jdbernard:jdb-util:4.2'
compile 'org.fusesource.jansi:jansi-project:1.11'
compile project(":wdiwtlt-core")
testCompile 'junit:junit:4.12'

View File

@ -1 +1,4 @@
include 'service', 'webapp'
include 'core', 'cli'
project(":core").name ="wdiwtlt-core"
project(":cli").name = "wdiwtlt-cli"