Fix incremental script compilation

This commit is contained in:
Gary Tierney
2017-09-16 21:49:45 +01:00
parent edcb72b474
commit b4d951c7cc
4 changed files with 35 additions and 27 deletions
+2 -5
View File
@@ -1,13 +1,10 @@
apply plugin: 'kotlin'
dependencies {
def gameProject = project(':game')
compile gameProject.sourceSets.main.output
compileOnly project(':game')
compile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
def gameTestConfiguration = gameProject.configurations.testCompileOnly
def gameTestConfiguration = project(':game').configurations.testCompile
def gameTestDependencies = gameTestConfiguration.dependencies
gameTestDependencies.each {