Skip to content

Commit 84f400a

Browse files
committed
No longer exclude assets from the pathingJar
1 parent 0077f3a commit 84f400a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,6 @@ class GrailsGradlePlugin extends GroovyPlugin {
414414
}
415415

416416
protected Jar createPathingJarTask(Project project, String name, Configuration...configurations) {
417-
File assets = new File(project.buildDir, 'assets')
418-
419417
project.tasks.create(name, Jar) { Jar task ->
420418
task.dependsOn(configurations)
421419
task.appendix = 'pathing'
@@ -432,13 +430,6 @@ class GrailsGradlePlugin extends GroovyPlugin {
432430
}.join(' ')
433431
}
434432
}
435-
436-
// assetCompile will be execute for all Jar-type tasks
437-
// (see https://github.com/bertramdev/asset-pipeline/blob/master/asset-pipeline-gradle/src/main/groovy/asset/pipeline/gradle/AssetPipelinePlugin.groovy#L85)
438-
// exclude the assets from pathing jar
439-
task.exclude {
440-
it.file.absolutePath.startsWith(assets.absolutePath)
441-
}
442433
}
443434
}
444435

0 commit comments

Comments
 (0)