diff options
author | Cedric Beust <cedric@beust.com> | 2017-03-05 06:41:41 -0800 |
---|---|---|
committer | Cedric Beust <cedric@beust.com> | 2017-03-05 06:41:41 -0800 |
commit | 749044426d441837fd1f16cfcc24ffd5ec0e4b10 (patch) | |
tree | 2293032f835e95dbc188956987ac487d21035438 /kobalt | |
parent | 9204d90557da604b203b6d5317b8067d8d0312c5 (diff) | |
download | jcommander-749044426d441837fd1f16cfcc24ffd5ec0e4b10.tar.gz |
Compile JCommander with 1.7.
TestNG depends on it, so that's necessary.
Diffstat (limited to 'kobalt')
-rw-r--r-- | kobalt/src/Build.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 4a58f6a..965e1a9 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -1,5 +1,5 @@ - +import com.beust.kobalt.plugin.java.javaCompiler import com.beust.kobalt.plugin.packaging.assemble import com.beust.kobalt.plugin.publish.bintray import com.beust.kobalt.project @@ -29,6 +29,10 @@ val jcommander = project { sign = true } + javaCompiler { + args("-target", "1.7", "-source", "1.7") + } + pom = Model().apply { name = project.name description = "Command line parsing" |