Skip to content

Commit 59f5173

Browse files
committed
Merge branch 'master' into GRAILS-10032
2 parents f44e0c1 + a454a0c commit 59f5173

File tree

360 files changed

+1304
-7440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+1304
-7440
lines changed

build.gradle

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ buildscript {
1212
classpath 'com.bmuschko:gradle-nexus-plugin:2.3'
1313
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
1414
classpath "gradle.plugin.io.sdkman:gradle-sdkvendor-plugin:1.0.0"
15+
classpath "io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1"
1516
}
1617
}
1718

@@ -45,10 +46,10 @@ ext {
4546
reactorVersion = '2.0.7.RELEASE'
4647

4748
spockVersion = '1.0-groovy-2.4'
48-
springBootVersion = "1.4.0.RC1"
49+
springBootVersion = "1.4.0.RELEASE"
4950
springLoadedVersion = "1.2.6.RELEASE"
5051
springLoadedCommonOptions = "-Xverify:none -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true"
51-
springVersion = "4.3.1.RELEASE"
52+
springVersion = "4.3.2.RELEASE"
5253
ehcacheVersion = "2.4.6"
5354
junitVersion = "4.12"
5455
concurrentlinkedhashmapVersion = "1.4.2"
@@ -160,6 +161,11 @@ apply from: "gradle/idea.gradle"
160161
subprojects { project ->
161162
version = grailsVersion
162163
group = "org.grails"
164+
165+
configurations {
166+
documentation
167+
}
168+
163169
ext.isTestSuite = project.name.startsWith("grails-test-suite")
164170
ext.isCiBuild = project.hasProperty("isCiBuild")
165171
ext.pomInfo = {
@@ -206,6 +212,7 @@ subprojects { project ->
206212
if(project.name == 'grails-bom') return
207213

208214
apply plugin: 'groovy'
215+
apply plugin: "io.github.groovylang.groovydoc"
209216
if(!isTestSuite) {
210217
apply plugin: 'com.bmuschko.nexus'
211218
apply plugin: 'maven-publish'
@@ -259,7 +266,18 @@ subprojects { project ->
259266
options.debug = true
260267
}
261268

269+
configure([groovydoc]) {
270+
onlyIf {
271+
!isTestSuite
272+
}
273+
classpath += configurations.documentation
274+
jvmArgs "-Xmx512M"
275+
}
276+
262277
configure([javadoc]) {
278+
onlyIf {
279+
!isTestSuite
280+
}
263281
options.encoding "UTF-8"
264282
options.docEncoding "UTF-8"
265283
options.charSet "UTF-8"
@@ -279,6 +297,10 @@ subprojects { project ->
279297
}
280298

281299
dependencies {
300+
documentation("org.fusesource.jansi:jansi:$jansiVersion")
301+
documentation("jline:jline:$jlineVersion")
302+
documentation "org.codehaus.groovy:groovy-ant:$groovyVersion"
303+
282304
compile groovyDependency
283305

284306
testCompile "org.codehaus.groovy:groovy-test:${groovyVersion}", {

gradle/docs.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
buildscript {
2+
repositories {
3+
maven { url "https://repo.grails.org/grails/core" }
4+
}
5+
dependencies {
6+
classpath "io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1"
7+
}
8+
}
19
/**
210
* Since Grails is a mixed Groovy/Java codebase the javadoc tool needs stubs in order for javadoc compilation to pass
311
* This target generates a set of stubs for the Groovy sources
@@ -66,15 +74,16 @@ task javadoc(type:Javadoc) {
6674
verbose = false
6775
}
6876

69-
task groovydoc(type:Groovydoc) {
70-
def subs = subprojects.findAll { it.name != 'grails-dependencies' && it.name != 'grails-bom' && it.name != 'grails-compat' }
77+
task groovydoc(type:org.groovy.lang.groovydoc.tasks.GroovydocTask) {
78+
def subs = subprojects.findAll {
79+
it.name != 'grails-dependencies' && it.name != 'grails-bom' && it.name != 'grails-compat' && !it.name.startsWith("grails-test-suite") }
7180
classpath = files(subs.configurations.compile)
7281
groovyClasspath = files(subs.configurations.compile)
7382
destinationDir = file("$docs.destinationDir/api")
7483
windowTitle = "Grails $grailsVersion"
7584
docTitle = "Grails $grailsVersion"
7685
source subs.sourceSets.main.groovy.srcDirs
77-
use = true
86+
jvmArgs "-Xmx768M"
7887
// Can't make these link methods to work
7988
// link("http://static.springsource.org/spring/docs/3.0.x/javadoc-api", "org.springframework.")
8089
// link("http://download.oracle.com/javase/1.5.0/docs/api", "java." , "javax.")

gradle/wrapper/gradle-wrapper.jar

-501 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 28 09:23:56 CEST 2016
1+
#Tue Aug 23 09:20:31 CEST 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip

gradlew

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,9 @@ function splitJvmOpts() {
161161
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
162162
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
163163

164+
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
165+
if [[ "$(uname)" == "Darwin" ]] && [[ "$HOME" == "$PWD" ]]; then
166+
cd "$(dirname "$0")"
167+
fi
168+
164169
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

gradlew.bat

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ goto fail
4949
@rem Get command-line arguments, handling Windows variants
5050

5151
if not "%OS%" == "Windows_NT" goto win9xME_args
52-
if "%@eval[2+2]" == "4" goto 4NT_args
5352

5453
:win9xME_args
5554
@rem Slurp the command line arguments.
@@ -60,11 +59,6 @@ set _SKIP=2
6059
if "x%~1" == "x" goto execute
6160

6261
set CMD_LINE_ARGS=%*
63-
goto execute
64-
65-
:4NT_args
66-
@rem Get arguments from the 4NT Shell from JP Software
67-
set CMD_LINE_ARGS=%$
6862

6963
:execute
7064
@rem Setup the command line

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecorator.groovy

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

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecoratorLookupStrategy.groovy

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

grails-async/src/main/groovy/org/grails/async/decorator/PromiseDecoratorProvider.groovy

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

grails-async/src/main/groovy/org/grails/async/factory/AbstractPromiseFactory.groovy

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

0 commit comments

Comments
 (0)