Kobalt 1.0.69 update.
This commit is contained in:
parent
90b91b67cb
commit
5988206ba1
9 changed files with 476 additions and 809 deletions
|
@ -10,21 +10,14 @@
|
|||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="Kobalt: kobalt-versioneye-0.4.4.jar">
|
||||
<library name="Kobalt: com.beust.kobalt:kobalt:jar:1.0.69">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../kobaltBuild/libs/kobalt-versioneye-0.4.4.jar!/" />
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.69/kobalt/wrapper/kobalt-1.0.69.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="Kobalt: com.beust.kobalt:kobalt:jar:1.0.30">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.30/kobalt/wrapper/kobalt-1.0.30.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.69/kobalt/wrapper/kobalt-1.0.69-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
|
|
|
@ -1,32 +1,19 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.misc.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.publish.*
|
||||
import net.thauvin.erik.kobalt.plugin.versioneye.*
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.plugin.publish.autoGitTag
|
||||
import com.beust.kobalt.plugin.publish.bintray
|
||||
import com.beust.kobalt.profile
|
||||
import com.beust.kobalt.project
|
||||
import org.apache.maven.model.*
|
||||
import java.io.*
|
||||
|
||||
val semver = "0.4.4"
|
||||
|
||||
val bs = buildScript {
|
||||
val p = with(File("kobaltBuild/libs/kobalt-versioneye-$semver.jar")) {
|
||||
if (exists()) {
|
||||
kobaltLog(1, " >>> Using: $path")
|
||||
file(path)
|
||||
} else {
|
||||
"net.thauvin.erik:kobalt-versioneye:"
|
||||
}
|
||||
}
|
||||
plugins(p)
|
||||
}
|
||||
val dev by profile()
|
||||
val kobaltDependency = if (dev) "kobalt" else "kobalt-plugin-api"
|
||||
|
||||
val p = project {
|
||||
|
||||
name = "kobalt-versioneye"
|
||||
group = "net.thauvin.erik"
|
||||
artifactId = name
|
||||
version = semver
|
||||
version = "0.4.5"
|
||||
|
||||
pom = Model().apply {
|
||||
description = "VersionEye plug-in for the Kobalt build system."
|
||||
|
@ -48,7 +35,7 @@ val p = project {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:kobalt-plugin-api:")
|
||||
compile("com.beust:$kobaltDependency:")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
|
@ -69,49 +56,4 @@ val p = project {
|
|||
description = "Release version $version"
|
||||
vcsTag = version
|
||||
}
|
||||
}
|
||||
|
||||
val example = project(p) {
|
||||
|
||||
name = "example"
|
||||
group = "com.example"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
directory = "example"
|
||||
|
||||
dependencies {
|
||||
compile("com.beust:jcommander:1.47")
|
||||
//compile("org.slf4j:slf4j-api:")
|
||||
compile("ch.qos.logback:logback-core:0.5")
|
||||
compile("ch.qos.logback:logback-classic:1.1.7")
|
||||
compile("commons-httpclient:commons-httpclient:jar:3.1")
|
||||
compile("com.beust:kobalt-plugin-api:0.878")
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
compile("org.testng:testng:")
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
|
||||
versionEye {
|
||||
// baseUrl = "https://www.versioneye.com/"
|
||||
// colors = true
|
||||
// name = ""
|
||||
// org = ""
|
||||
// quiet = false
|
||||
// team = ""
|
||||
// verbose = true
|
||||
// visibility = "public"
|
||||
|
||||
//failOn(Fail.licensesUnknownCheck, Fail.licensesCheck, Fail.securityCheck, Fail.dependenciesCheck)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -1 +1 @@
|
|||
kobalt.version=1.0.30
|
||||
kobalt.version=1.0.69
|
Loading…
Add table
Add a link
Reference in a new issue