Testing with -source.
This commit is contained in:
parent
7cf80e71c8
commit
21b37054da
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
import com.beust.kobalt.buildScript
|
import com.beust.kobalt.buildScript
|
||||||
import com.beust.kobalt.glob
|
import com.beust.kobalt.glob
|
||||||
import com.beust.kobalt.plugin.application.application
|
import com.beust.kobalt.plugin.application.application
|
||||||
|
import com.beust.kobalt.plugin.java.javaCompiler
|
||||||
|
import com.beust.kobalt.plugin.kotlin.kotlinCompiler
|
||||||
import com.beust.kobalt.plugin.packaging.assemble
|
import com.beust.kobalt.plugin.packaging.assemble
|
||||||
import com.beust.kobalt.plugin.packaging.install
|
import com.beust.kobalt.plugin.packaging.install
|
||||||
import com.beust.kobalt.plugin.publish.autoGitTag
|
import com.beust.kobalt.plugin.publish.autoGitTag
|
||||||
|
@ -56,6 +58,14 @@ val p = project {
|
||||||
mavenJars { }
|
mavenJars { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
javaCompiler {
|
||||||
|
//args("-source", "1.8", "-target", "1.8")
|
||||||
|
}
|
||||||
|
|
||||||
|
kotlinCompiler {
|
||||||
|
//args("-source", "1.8")
|
||||||
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass = "net.thauvin.erik.pinboard.PinboardPosterKt"
|
mainClass = "net.thauvin.erik.pinboard.PinboardPosterKt"
|
||||||
ignoreErrorStream = true
|
ignoreErrorStream = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue