Implemented workaround.
This commit is contained in:
parent
5c2c64683e
commit
3517697904
8 changed files with 269 additions and 46 deletions
13
kobalt/Build.kt.iml
Normal file
13
kobalt/Build.kt.iml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kobalt.jar" level="project" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
</component>
|
||||
</module>
|
|
@ -1,10 +1,6 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
|
||||
val repos = repos()
|
||||
|
||||
import com.beust.kobalt.plugin.application.application
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.project
|
||||
|
||||
val p = project {
|
||||
|
||||
|
@ -22,22 +18,21 @@ val p = project {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// compile("com.beust:jcommander:1.48")
|
||||
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:6.9.9")
|
||||
|
||||
// WORKAROUND
|
||||
compile("com.google.guava:guava:19.0")
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
jar {}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.Main"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
kobalt.version=0.839
|
||||
kobalt.version=0.841
|
Loading…
Add table
Add a link
Reference in a new issue