v0.8.2: adjusted desktop build resource importing to prevent IDE errors

This commit is contained in:
Evan Debenham 2020-07-09 13:38:00 -04:00
parent 822fc6cb97
commit 4eb8840c37

View File

@ -4,8 +4,10 @@ apply plugin: "java"
sourceCompatibility = targetCompatibility = appJavaCompatibility
ext.appMainClass = "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
sourceSets.main.resources.srcDirs = [new File(project(':core').projectDir, "/src/main/assets"),
new File(project(':desktop').projectDir,"/src/main/assets")]
processResources {
from new File(project(':core').projectDir, "/src/main/assets")
from new File(project(':desktop').projectDir,"/src/main/assets")
}
sourceSets {
debug