File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4848 spockVersion = ' 1.0-groovy-2.4'
4949 springBootVersion = " 1.4.6.RELEASE"
5050 springLoadedVersion = " 1.2.8.RELEASE"
51+ directoryWatcherVersion = " 0.3.0"
5152 springLoadedCommonOptions = " -Xverify:none -Dspringloaded.synchronize=true -Djdk.reflect.allowGetCallerClass=true"
5253 springVersion = " 4.3.9.RELEASE"
5354 ehcacheVersion = " 2.4.6"
Original file line number Diff line number Diff line change @@ -157,6 +157,12 @@ publishing {
157157 }
158158 }
159159
160+ mkp. dependency {
161+ mkp. groupId ' io.methvin'
162+ mkp. artifactId " directory-watcher"
163+ mkp. version(directoryWatcherVersion) // 0.3.0
164+ }
165+
160166 mkp. dependency {
161167 mkp. groupId ' org.springframework'
162168 mkp. artifactId " springloaded"
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ dependencies {
44 compile ( " org.codehaus.groovy:groovy-xml:$groovyVersion " )
55 compile ( " org.codehaus.groovy:groovy-templates:$groovyVersion " )
66 compile " org.yaml:snakeyaml:1.14"
7- compile " io.methvin:directory-watcher:0.3.0 " // TODO: Needs JNA to run
8-
7+
8+ compileOnly( " io.methvin:directory-watcher:0.3.0 " )
99 compileOnly(" org.fusesource.jansi:jansi:$jansiVersion " )
1010 compileOnly(" jline:jline:$jlineVersion " )
1111 compileOnly(" net.java.dev.jna:jna:$jnaVersion " )
Original file line number Diff line number Diff line change @@ -474,6 +474,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
474474 }
475475 project. dependencies {
476476 agent " org.springframework:springloaded"
477+ runtime " io.methvin:directory-watcher"
477478 }
478479 project. afterEvaluate(new AgentTasksEnhancer ())
479480 }
You can’t perform that action at this time.
0 commit comments