mirror of
https://github.com/corda/corda.git
synced 2025-01-31 08:25:50 +00:00
Add missing logger. (#817)
* Add missing logger. * Ensure scenario code is compiled as part of the standard gradle build task.
This commit is contained in:
parent
99d70fc197
commit
32011e05d1
@ -41,9 +41,7 @@ repositories {
|
||||
|
||||
sourceSets {
|
||||
behave {
|
||||
java {
|
||||
compileClasspath += main.output
|
||||
runtimeClasspath += main.output
|
||||
kotlin {
|
||||
srcDirs = ['src/main/kotlin', 'src/scenario/kotlin']
|
||||
}
|
||||
resources.srcDir file('src/scenario/resources')
|
||||
@ -58,6 +56,12 @@ sourceSets {
|
||||
srcDirs = ['src/scenario/resources']
|
||||
}
|
||||
}
|
||||
main {
|
||||
kotlin {
|
||||
compileClasspath += sourceSets.behave.output
|
||||
runtimeClasspath += sourceSets.behave.output
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
@ -15,11 +15,16 @@ import net.corda.behave.network.Network
|
||||
import net.corda.behave.node.Distribution
|
||||
import net.corda.behave.node.Node
|
||||
import net.corda.core.messaging.CordaRPCOps
|
||||
import net.corda.core.utilities.contextLogger
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import java.time.Duration
|
||||
|
||||
class ScenarioState {
|
||||
|
||||
companion object {
|
||||
val log = contextLogger()
|
||||
}
|
||||
|
||||
private val nodes = mutableListOf<Node.Builder>()
|
||||
|
||||
private var network: Network? = null
|
||||
|
Loading…
x
Reference in New Issue
Block a user