Skip to content

Commit a441453

Browse files
committed
Add a Gradle multi-project build, update README
1 parent aa3b83c commit a441453

File tree

13 files changed

+34
-292
lines changed

13 files changed

+34
-292
lines changed

groovylang-support/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@ Groovy Language and Java Money
33

44
Sample project(s) and Spock Unit Tests to demonstrate usage of Java Money API in the Groovy Language.
55

6-
Project/subdirectories:
6+
# Subprojects
77

88
* [groovy-money](./groovy-money): A Groovy Extension Module for Java Money providing operator overloading and more.
99
* groovy-demo: Groovy demo and Spock tests of groovy-money (Coming soon)
10-
* javamoney-spock: Spock tests that demonstrate basic JavaMoney functionality without Groovy extensions (Coming soon)
10+
* [javamoney-spock](./javamoney-spock): Spock tests that demonstrate basic JavaMoney functionality without Groovy extensions
11+
12+
# Build Instructions
13+
14+
To build all:
15+
16+
From the `groovylang-support` directory:
17+
18+
./gradlew build
1119

groovylang-support/build.gradle

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
allprojects {
2+
apply plugin: 'idea'
3+
}
4+
5+
subprojects {
6+
apply plugin: 'groovy'
7+
8+
repositories {
9+
jcenter()
10+
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/'}
11+
}
12+
13+
dependencies {
14+
compile 'org.javamoney:moneta:1.0-RC2'
15+
compile 'org.codehaus.groovy:groovy:2.4.1'
16+
17+
testCompile("org.spockframework:spock-core:1.0-groovy-2.4") {
18+
exclude module: "groovy-all"
19+
}
20+
}
21+
}
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-
apply plugin: "groovy"
21
apply plugin: "application"
32

43
sourceCompatibility = 1.8
54
targetCompatibility = 1.8
65

7-
repositories {
8-
jcenter()
9-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/'}
10-
}
11-
12-
dependencies {
13-
compile 'org.javamoney:moneta:1.0-RC2'
14-
compile 'org.codehaus.groovy:groovy:2.4.1'
15-
16-
testCompile("org.spockframework:spock-core:1.0-groovy-2.4") {
17-
exclude module: "groovy-all"
18-
}
19-
}
20-
216
mainClassName = "com.msgilligan.moneta.GroovyDemo"
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
1-
apply plugin: "groovy"
21
apply plugin: "application"
32

43
sourceCompatibility = 1.8
54
targetCompatibility = 1.8
65

7-
repositories {
8-
jcenter()
9-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/'}
10-
}
11-
12-
dependencies {
13-
compile 'org.javamoney:moneta:1.0-RC2'
14-
compile 'org.codehaus.groovy:groovy:2.4.1'
15-
16-
testCompile("org.spockframework:spock-core:1.0-groovy-2.4") {
17-
exclude module: "groovy-all"
18-
}
19-
}
20-
216
mainClassName = "JavaMoneyDemo"
Binary file not shown.

groovylang-support/javamoney-spock/gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)