chore (build): remove unnecessary IdeaModel overrides
When we have resources for gestalt's asset loader we need to be particular about output directories. But the facade does not register gestalt assets itself.
We avoid some gradle/intellij build state collisions by not forcing these values.
import org.apache.tools.ant.filters.FixCrLfFilter
import org.apache.tools.ant.taskdefs.condition.Os
-import org.gradle.plugins.ide.idea.model.IdeaModel
import java.text.SimpleDateFormat
import java.util.*
@@ -72,12 +71,6 @@ application {
mainClass.set(extra.get("mainClassName") as String)
}
-// Adjust as the Gradle 6 upgrade changed this path a bit
-sourceSets {
- main { java.outputDir = File("$buildDir/classes") }
- test { java.outputDir = File("$buildDir/testClasses") }
-}
-
// Base the engine tests on the same version number as the engine
version = project(":engine").version
logger.info("PC VERSION: {}", version)
@@ -284,16 +277,6 @@ tasks.register<Sync>("distForLauncher") {
}
}
-// Prep an IntelliJ module for the facade
-configure<IdeaModel> {
- module {
- // Change around the output a bit
- inheritOutputDirs = false
- outputDir = file("build/classes")
- testOutputDir = file("build/testClasses")
- }
-}
-
tasks.register<Copy>("copyEclipseLauncher") {
from("$rootDir/config/eclipse")
into(projectDir)
