File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ val installLocalDist by tasks.registering {
40
40
41
41
val install by tasks.registering {
42
42
doLast {
43
- TODO (" The 'install' task has now changes names to 'installDist', as per the common standard." )
43
+ TODO (" The 'install' task has been renamed to 'installDist', as per the common standard." )
44
44
}
45
45
}
46
46
Original file line number Diff line number Diff line change @@ -140,21 +140,18 @@ distributions {
140
140
distributionBaseName = xdkDist.distributionName
141
141
assert (distributionBaseName.get() == " xdk" ) // TODO: Should really rename the distribution to "xdk" explicitly per convention.
142
142
contents {
143
- // TODO: Why do we need the indirect - likely change these to lazy properties through map format.
144
- // TODO WE should really not do get() here.
145
- val resources = tasks.processResources.get().outputs.files.asFileTree
146
- logger.info(" $prefix Distribution contents need to use lazy resources." )
147
143
/*
148
144
* 1) copy build plugin repository publication of the XTC plugin to install/xdk/repo
149
145
* 2) copy xdk resources/main/xdk to install/xdk/
150
146
* 3) copy javatools_launcher/bin/\* to install/xdk/bin/
151
147
* 4) copy XDK modules to install/xdk/lib
152
148
* 5) copy javatools.jar, turtle and bridge to install/xdk/javatools
153
149
*/
154
- from(resources) {
155
- eachFile {
156
- includeEmptyDirs = false
157
- }
150
+ // TODO: Why do we need the indirect - likely change these to lazy properties through map format.
151
+ // TODO WE should really not do get() here.
152
+ logger.info(" $prefix Distribution contents need to use lazy resources." )
153
+ val xdkTemplate = tasks.processResources.get().destinationDir.toString() + " /xdk/"
154
+ from(xdkTemplate) {
158
155
}
159
156
from(xtcLauncherBinaries) {
160
157
into(" bin" )
You can’t perform that action at this time.
0 commit comments