From 8ba4fe2fbfc3b0f096e5c7326e28ffddcfda54c2 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 16 Jul 2024 15:40:16 -0700 Subject: [PATCH] split the src copy tasks --- io.opencaesar.oml.specification/build.gradle | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/io.opencaesar.oml.specification/build.gradle b/io.opencaesar.oml.specification/build.gradle index 9e94c01c..aad5bc53 100644 --- a/io.opencaesar.oml.specification/build.gradle +++ b/io.opencaesar.oml.specification/build.gradle @@ -1,17 +1,17 @@ ext.title = 'Oml Textual Language Test' description = 'Test for Oml textual language' -task copySrc() { - copy { - from 'src/main' - into 'build/bikeshed' - } - copy { - from 'src/v1' - into 'build/bikeshed/v1' - } + +task copyBikeshed(type:Copy) { + from 'src/main' + into 'build/bikeshed' +} + +task copyV1Bikeshed(type:Copy) { + from 'src/v1' + into 'build/bikeshed/v1' } -task ecoreToBikeshed(type:io.opencaesar.ecore.bikeshed.Ecore2BikeshedTask, dependsOn: copySrc) { +task ecoreToBikeshed(type:io.opencaesar.ecore.bikeshed.Ecore2BikeshedTask, dependsOn: [copyBikeshed, copyV1Bikeshed]) { inputFolderPath = file('../io.opencaesar.oml/src/io/opencaesar/oml') outputFolderPath = file('build/bikeshed') }