collect() testing.

This commit is contained in:
Erik C. Thauvin 2017-04-04 20:15:03 -07:00
parent b8a1d3e14f
commit 7596e735df
3 changed files with 13 additions and 4 deletions

View file

@ -1,4 +1,5 @@
import com.beust.kobalt.* import com.beust.kobalt.*
import com.beust.kobalt.plugin.apt.*
import com.beust.kobalt.plugin.packaging.* import com.beust.kobalt.plugin.packaging.*
import com.beust.kobalt.plugin.publish.* import com.beust.kobalt.plugin.publish.*
import com.beust.kobalt.plugin.application.* import com.beust.kobalt.plugin.application.*
@ -9,6 +10,8 @@ val bs = buildScript {
repos() repos()
} }
val processorJar = file("K:\\java\\semver\\deploy\\semver-0.9.7.jar")
val p = project { val p = project {
@ -43,11 +46,12 @@ val p = project {
} }
dependencies { dependencies {
// compile("com.beust:jcommander:1.48") apt(processorJar)
compile("org.apache.velocity:velocity:1.7", processorJar)
} }
dependenciesTest { dependenciesTest {
compile("org.testng:testng:6.10") compile("org.testng:testng:6.11")
} }
@ -56,6 +60,11 @@ val p = project {
} }
} }
install {
libDir = "deploy"
println(collect(compileDependencies))
}
application { application {
mainClass = "com.example.Main" mainClass = "com.example.Main"
} }
@ -69,4 +78,4 @@ val p = project {
bintray { bintray {
publish = false publish = false
} }
} }

View file

@ -1 +1 @@
kobalt.version=1.0.19 kobalt.version=1.0.44

BIN
libs/kobalt-test-0.1.jar Normal file

Binary file not shown.