mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Fix plugin test running with new gradle modules
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user