diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt deleted file mode 100644 index c1209bc..0000000 --- a/kobalt/src/Build.kt +++ /dev/null @@ -1,99 +0,0 @@ -import com.beust.kobalt.buildScript -import com.beust.kobalt.glob -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.install -import com.beust.kobalt.plugin.publish.autoGitTag -import com.beust.kobalt.plugin.publish.bintray -import com.beust.kobalt.project -import net.thauvin.erik.kobalt.plugin.pom2xml.pom2xml -import org.apache.maven.model.Developer -import org.apache.maven.model.License -import org.apache.maven.model.Model -import org.apache.maven.model.Scm - -val bs = buildScript { - plugins("net.thauvin.erik:kobalt-pom2xml:", "net.thauvin.erik:kobalt-maven-local:") -} - -val p = project { - name = "pinboard-poster" - group = "net.thauvin.erik" - description = "Pinboard Poster for Kotlin/Java" - artifactId = name - version = "1.0.0" - - pom = Model().apply { - description = project.description - url = "https://github.com/ethauvin/pinboard-poster" - licenses = listOf(License().apply { - name = "BSD 3-Clause" - url = "https://opensource.org/licenses/BSD-3-Clause" - }) - scm = Scm().apply { - url = "https://github.com/ethauvin/pinboard-poster" - connection = "https://github.com/ethauvin/pinboard-poster.git" - developerConnection = "git@github.com:ethauvin/pinboard-poster.git" - } - developers = listOf(Developer().apply { - id = "ethauvin" - name = "Erik C. Thauvin" - email = "erik@thauvin.net" - }) - } - - dependencies { - compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.50") - compile("com.squareup.okhttp3:okhttp:3.10.0") - } - - dependenciesTest { - compile("org.testng:testng:6.14.3") - } - - assemble { - jar { } - mavenJars { } - } - - javaCompiler { - //args("-source", "1.8", "-target", "1.8") - } - - kotlinCompiler { - //args("-source", "1.8") - } - - application { - mainClass = "net.thauvin.erik.pinboard.PinboardPosterKt" - ignoreErrorStream = true - } - - install { - target = "deploy" - include(from("kobaltBuild/libs"), to(target), glob("**/*")) - collect(compileDependencies).forEach { - copy(from(it.file.absolutePath), to(target)) - } - } - - autoGitTag { - enabled = true - push = false - message = "Version $version" - } - - bintray { - publish = true - description = "Release version $version" - issueTrackerUrl = "https://github.com/ethauvin/pinboard-poster/issues" - vcsTag = version - sign = true - } - - pom2xml { - - } -} diff --git a/kobalt/wrapper/kobalt-wrapper.jar b/kobalt/wrapper/kobalt-wrapper.jar deleted file mode 100644 index 6c6b435..0000000 Binary files a/kobalt/wrapper/kobalt-wrapper.jar and /dev/null differ diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties deleted file mode 100644 index 0ca8045..0000000 --- a/kobalt/wrapper/kobalt-wrapper.properties +++ /dev/null @@ -1 +0,0 @@ -kobalt.version=1.0.122 \ No newline at end of file diff --git a/kobaltw b/kobaltw deleted file mode 100755 index c5186d5..0000000 --- a/kobaltw +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -java -jar "`dirname "$0"`/kobalt/wrapper/kobalt-wrapper.jar" $* diff --git a/kobaltw.bat b/kobaltw.bat deleted file mode 100644 index d578071..0000000 --- a/kobaltw.bat +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -java -jar "%DIRNAME%/kobalt/wrapper/kobalt-wrapper.jar" %*