mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Warning.
This commit is contained in:
parent
0da885e094
commit
035fec8638
2 changed files with 3 additions and 5 deletions
|
@ -117,6 +117,6 @@ data class JCenterConfig(val project: Project) {
|
||||||
public fun Project.jcenter(ini: JCenterConfig.() -> Unit) : JCenterConfig {
|
public fun Project.jcenter(ini: JCenterConfig.() -> Unit) : JCenterConfig {
|
||||||
val pd = JCenterConfig(this)
|
val pd = JCenterConfig(this)
|
||||||
pd.ini()
|
pd.ini()
|
||||||
(Kobalt.findPlugin("publish") as PublishPlugin).addConfiguration(name!!, pd)
|
(Kobalt.findPlugin("publish") as PublishPlugin).addConfiguration(name, pd)
|
||||||
return pd
|
return pd
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
package com.beust.kobalt.internal
|
package com.beust.kobalt.internal
|
||||||
|
|
||||||
import com.beust.kobalt.misc.KobaltLogger
|
|
||||||
import com.beust.kobalt.misc.Topological
|
import com.beust.kobalt.misc.Topological
|
||||||
import com.beust.kobalt.misc.log
|
import com.beust.kobalt.misc.log
|
||||||
import org.testng.Assert
|
import org.testng.Assert
|
||||||
import org.testng.annotations.Test
|
import org.testng.annotations.Test
|
||||||
import java.util.ArrayList
|
import java.util.*
|
||||||
import java.util.HashSet
|
|
||||||
|
|
||||||
public class DynamicGraphTest {
|
public class DynamicGraphTest {
|
||||||
|
|
||||||
|
@ -47,7 +45,7 @@ public class DynamicGraphTest {
|
||||||
val factory = createFactory(runNodes, { true })
|
val factory = createFactory(runNodes, { true })
|
||||||
|
|
||||||
DynamicGraphExecutor(dg, factory).run()
|
DynamicGraphExecutor(dg, factory).run()
|
||||||
Assert.assertEquals(runNodes.size(), 3)
|
Assert.assertEquals(runNodes.size, 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue