Skip to content

Commit

Permalink
split the src copy tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar committed Jul 16, 2024
1 parent bb980c1 commit 8ba4fe2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions io.opencaesar.oml.specification/build.gradle
Original file line number Diff line number Diff line change
@@ -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')
}
Expand Down

0 comments on commit 8ba4fe2

Please sign in to comment.