Skip to content

Commit

Permalink
Added gradle script
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisker committed Mar 27, 2024
1 parent 9b3f0c5 commit f063d08
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,10 @@ allprojects {
// and the ant importer collides with the 'apply plugin:java'
return
}
// 3DLighting applies an 'application' plugin (that includes the 'java' plugin)
if (project.path.startsWith(":3DLighting")) {
return
}

// All of our projects are java projects

Expand Down Expand Up @@ -4040,7 +4044,29 @@ project(":systemTests") {
addValidateSourceSets(project, nonModSrcSets, modSrcSets)
}

project(":3DLighting") {

apply plugin: "application"

application {
mainClass = "attenuation.LightingApplication"
}

project.ext.buildModule = false
project.ext.moduleRuntime = false

commonModuleSetup(project, [ 'base', 'graphics', 'controls', 'swing' ])

dependencies {
implementation project(":base")
implementation project(":graphics")
implementation project(":controls")
implementation project(":swing")
}
}

allprojects {

// The following block is a workaround for the fact that presently Gradle
// can't set the -XDignore.symbol.file flag, because it appears that the
// javac API is lacking support for it. So what we'll do is find any Compile
Expand Down

0 comments on commit f063d08

Please sign in to comment.