Fix plugin test running with new gradle modules

This commit is contained in:
Gary Tierney
2017-09-16 20:40:17 +01:00
parent 36282cf81e
commit edcb72b474
39 changed files with 97 additions and 129 deletions
+11 -1
View File
@@ -2,5 +2,15 @@ apply plugin: 'kotlin'
dependencies {
compile project(':game')
def gameProject = project(':game')
compile gameProject.sourceSets.main.output
compile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
def gameTestConfiguration = gameProject.configurations.testCompileOnly
def gameTestDependencies = gameTestConfiguration.dependencies
gameTestDependencies.each {
compile it
}
}