Skip to content
Newer
Older
100644 99 lines (85 sloc) 2.28 KB
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
1 buildscript {
2 repositories {
3 mavenCentral()
4 }
5 dependencies {
6 classpath "commons-io:commons-io:1.4"
7 }
8 }
9
10 apply id: 'groovy'
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
11
cb3cfa3 @jeffbrown update Grails version number to 1.3.5.BUILD-SNAPSHOT
jeffbrown authored Aug 10, 2010
12 version = '1.3.5.BUILD-SNAPSHOT'
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
13
486145c @pledbrook Fixed typos in Gradle build.
pledbrook authored Feb 2, 2010
14 sourceCompatibility = "1.5"
15 targetCompatibility = "1.5"
f73204b @graemerocher fixed problem with Gradle build uses 'grails-core' as the archive bas…
graemerocher authored Mar 9, 2010
16 archivesBaseName = 'grails'
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
17
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
18 configurations {
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
19 compile.transitive = true
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
20 jsp21.extendsFrom compile
21 }
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
22
23 dependencies {
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
24 lib = "$projectDir/lib"
bf7f1dc @jeffbrown remove hardcoded groovy jar name to better support the groovy/grails …
jeffbrown authored Jun 17, 2010
25 groovy files(fileTree(dir: lib as File, includes: ['groovy-all-1.7.*.jar']))
da458e7 @alkemist GRAILS-6737 - Upgrade to Grails 1.7.5
alkemist authored Sep 17, 2010
26 compile files(fileTree(dir: lib as File, includes: ['*.jar'], excludes: ['jsp-api-2.1.jar', 'groovy-all-1.7.5.jar']), "${System.getenv('JAVA_HOME')}/lib/tools.jar")
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
27 jsp21 files("$lib/jsp-api-2.1.jar")
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
28 }
29
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
30 sourceSets {
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
31 main {
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
32 java {
33 srcDirs = []
34 }
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
35 groovy {
36 srcDirs = ['src/java']
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
37 }
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
38 resources {
39 srcDirs = ['src/java']
69641fc @burtbeckwith GRAILS-6016 tweaked to include .dtd files in jar
burtbeckwith authored Mar 15, 2010
40 include '**/*.properties', '**/*.xsd', '**/*.dtd'
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
41 }
42 }
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
43 jsp21 {
44 compileClasspath = files(configurations.jsp21, main.classes)
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
45 groovy.srcDirs = ['src/jsp21']
46 resources.srcDirs = []
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
47 }
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
48 test {
49 java {
50 srcDirs = []
51 }
5b0ccf9 @pledbrook Removed rogue text from build file.
pledbrook authored Feb 3, 2010
52 groovy {
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
53 srcDirs = ['src/test']
54 }
55 resources {
56 srcDirs = ['src/test', 'src/jar']
57 exclude '**/*.java', '**/*.groovy'
58 }
59 }
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
60 buildScripts {
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
61 compileClasspath = sourceSets.main.compileClasspath + main.classes
62 classesDir = "$buildDir/compiled-scripts" as File
63 groovy.srcDirs = ['scripts']
d97a4e5 @hansd Starting with new Gradle build for Grails.
hansd authored Sep 4, 2009
64 resources.srcDirs = []
3e17890 1.1 branch is now trunk
graeme authored Mar 13, 2009
65 }
66 }
67
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
68 jsp21Classes.dependsOn classes
69 task allClasses(dependsOn: [classes, jsp21Classes, buildScriptsClasses])
70
71 configure([compileGroovy, compileTestGroovy]) {
72 groovyOptions.fork(memoryInitialSize: '128M', memoryMaximumSize: '1G')
73 groovyOptions.encoding = "UTF-8"
74 }
75
76 configure([compileJava, compileTestJava]) {
77 options.deprecation = true
78 options.debug = true
79 }
80
81 apply {
9ad0306 @pledbrook Minor syntax change to Gradle build.
pledbrook authored Feb 2, 2010
82 url 'gradle/docs.gradle'
83 url 'gradle/assemble.gradle'
df04297 @hansd Some changes to test handling.
hansd authored Mar 9, 2010
84 url 'gradle/unit-test.gradle'
9ad0306 @pledbrook Minor syntax change to Gradle build.
pledbrook authored Feb 2, 2010
85 url 'gradle/maven.gradle'
86 url 'gradle/findbugs.gradle'
712a509 Split build into a couple of build scripts. Updated to new version of…
hd authored Jan 11, 2010
87 }
88
89a2d32 Added single test execution. Changed output destination to be the sam…
hd authored Jan 19, 2010
89 clean {
90 // add additional dirs
91 from(docs.destinationDir, libs.destinationDir)
92 }
93
4f679a1 Added wrapper. Some cleaning up. Fixed one bug with bundlor.
hd authored Jan 18, 2010
94 task wrapper(type: Wrapper) {
95 gradleVersion = '0.9-20100118091626+0100'
96 jarPath = 'gradle/wrapper'
97 }
98
Something went wrong with that request. Please try again.