Continued work on the modular builds.

This commit is contained in:
Dorian 2013-04-03 16:02:56 -04:00
parent 93d4f15a4e
commit 001f104da7
27 changed files with 60 additions and 11 deletions

View File

@ -25,7 +25,7 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers-android'
version = '0.3'
// Androids!!!
@ -42,6 +42,5 @@ repositories {
// Dependency management
dependencies {
compile 'jdom:jdom:0.7' // TODO: Get rid of the JDOM and use Android's content provider.
compile project(':core')
}

View File

@ -17,7 +17,7 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers'
version = '0.3'
// TODO Add in extra targets for project setup or a simplified Gradle build API.

View File

@ -15,7 +15,18 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers-console'
version = '0.3'
// TODO Add in build for the terminal client.
// TODO Base of justcheckers-core
// TODO Look into potential terminal libraries...
/*
Ideas: http://stackoverflow.com/questions/1321308/whats-the-best-way-to-get-text-user-interfaces-ncurses-like-functionality-in
- Laterna: https://code.google.com/p/lanterna/
- jCurses: http://sourceforge.net/projects/javacurses/
- TUIAWT: http://bmsi.com/tuipeer/
- CHARVA: http://www.pitman.co.za/projects/charva/index.html
*/

View File

@ -15,7 +15,46 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers-core'
version = '0.3'
// TODO Add in a separate build for just the core application...
project.ext {
appName = 'justcheckers-core'
}
// Setup build script repositories starting with Maven repositories
repositories {
maven {
url 'http://repo1.maven.org/maven2'
}
}
// Dependency management
dependencies {
compile 'jdom:jdom:0.7'
testCompile 'org.testng:testng:6.8'
}
// At the end of day we just need a JAR and a WAR.
ext.sharedManifest = manifest {
attributes(
'App-Name' : project.appName,
'App-Version' : version,
'Build-User' : System.properties['user.name'],
'Build-Time' : new Date().format('yyyy-MMMM-dd HH:mm:ss'),
'Build-OS' : System.properties['os.name'] + ' - version ' + System.properties['os.version'],
'Build-Sys' : System.properties['os.arch'],
'Java-Version' : System.properties['java.version'],
'Java-Vendor' : System.properties['java.vendor'],
'Java-VM' :
System.properties['java.vm.vendor'] + ' ' + System.properties['java.vm.name'] + ' v'
+ System.properties['java.vm.version'])
}
// Build the JAR.
jar {
enabled = true
includeEmptyDirs = false
manifest = sharedManifest
}

View File

@ -15,7 +15,7 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers-desktop'
version = '0.3'
// TODO Add in build for the desktop client.

View File

@ -25,12 +25,12 @@ sourceCompatibility = 1.6
targetCompatibility = 1.6
// Description of the project
description = 'justCheckers'
description = 'justcheckers-web'
version = '0.3'
project.ext {
appName = 'justCheckers'
appName = 'justcheckers-web'
appBaseName = "justcheckers"
hibernateVersion = '3.5.4-Final'