Skip to content

Commit

Permalink
Added more Gradle dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilccbrown committed May 10, 2024
1 parent a8838f4 commit d57abf7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions greenfoot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ jar.dependsOn copyLibToBuild
jar.dependsOn copyImagelibToBuild
jar.dependsOn copyGreenfootIcon1
jar.dependsOn copyGreenfootIcon2
compileTestJava.dependsOn copyLibToBuild
compileTestJava.dependsOn copyImagelibToBuild
compileTestJava.dependsOn copyGreenfootIcon1
compileTestJava.dependsOn copyGreenfootIcon2

task copyToLib(type: Copy) {
into new File(sourceSets.main.output.resourcesDir, 'lib')
Expand Down Expand Up @@ -111,8 +115,10 @@ task greenfootJar(type: Jar) {
}
destinationDirectory = new File(sourceSets.main.output.resourcesDir, 'lib')
}
greenfootJar.dependsOn compileJava
assemble.dependsOn greenfootJar
assemble.dependsOn copyToLib
jar.dependsOn greenfootJar

task runGreenfoot(type: JavaExec) {
group = 'application'
Expand Down

0 comments on commit d57abf7

Please sign in to comment.