diff --git a/build.gradle b/build.gradle index 5fee110..5305f1f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id "com.jfrog.bintray" version "1.5" + id "com.jfrog.bintray" version "1.7.3" } apply plugin: 'java' apply plugin: 'idea' diff --git a/example/build.gradle b/example/build.gradle index 379f4d4..90fd763 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -1,5 +1,5 @@ plugins { - id "com.ewerk.gradle.plugins.annotation-processor" version "1.0.3" + id "com.ewerk.gradle.plugins.annotation-processor" version "1.0.4" } apply plugin: 'java' apply plugin: 'idea' diff --git a/example/kobalt/src/Build.kt b/example/kobalt/src/Build.kt index a94373e..159a18a 100644 --- a/example/kobalt/src/Build.kt +++ b/example/kobalt/src/Build.kt @@ -1,3 +1,4 @@ +import com.beust.kobalt.* import com.beust.kobalt.plugin.application.application import com.beust.kobalt.plugin.apt.apt import com.beust.kobalt.plugin.packaging.* @@ -6,6 +7,10 @@ import java.io.FileInputStream import java.util.* +val bs = buildScript { + repos(file("K:/maven/repository/")) +} + fun StringBuilder.prepend(s: String): StringBuilder { if (this.isNotEmpty()) { this.insert(0, s) @@ -35,7 +40,7 @@ val example = project { version = versionFor() val mainClassName = "net.thauvin.erik.semver.example.Example" - val processorJar = "net.thauvin.erik:semver:" + val processorJar = "net.thauvin.erik:semver:0.9.7" dependencies { apt(processorJar) diff --git a/example/kobalt/wrapper/kobalt-wrapper.properties b/example/kobalt/wrapper/kobalt-wrapper.properties index 9709019..842b330 100644 --- a/example/kobalt/wrapper/kobalt-wrapper.properties +++ b/example/kobalt/wrapper/kobalt-wrapper.properties @@ -1 +1 @@ -kobalt.version=1.0.71 \ No newline at end of file +kobalt.version=1.0.72 \ No newline at end of file diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 2c8015f..b757775 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -98,25 +98,4 @@ val semver = project { commandLine(listOf("pandoc") + args, os = setOf(Os.LINUX)) commandLine(listOf("cmd", "/c", "pandoc") + args, os = setOf(Os.WINDOWS)) } -} - -val example = project(semver) { - - name = "example" - directory = "example" - version = versionFor(directory) - - val mainClassName = "net.thauvin.erik.semver.example.Example" - - assemble { - jar { - manifest { - attributes("Main-Class", mainClassName) - } - } - } - - application { - mainClass = mainClassName - } -} +} \ No newline at end of file