Initial commit

This commit is contained in:
Erik C. Thauvin 2018-01-02 17:45:11 -08:00
commit da9aad15e4
29 changed files with 1338 additions and 0 deletions

33
kobalt/Build.kt.iml Normal file
View file

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="Build.kt" external.linked.project.path="$MODULE_DIR$/.." external.root.project.path="$MODULE_DIR$/.." external.system.id="KOBALT" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/out/classes" />
<output-test url="file://$MODULE_DIR$/out/test-classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="Kobalt: kobalt-maven-local-0.5.3.jar">
<CLASSES>
<root url="jar://$USER_HOME$/.kobalt/cache/net/thauvin/erik/kobalt-maven-local/0.5.3/kobalt-maven-local-0.5.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Kobalt: com.beust.kobalt:kobalt:jar:1.0.93">
<CLASSES>
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.93/kobalt/wrapper/kobalt-1.0.93.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.93/kobalt/wrapper/kobalt-1.0.93-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>

77
kobalt/src/Build.kt Normal file
View file

@ -0,0 +1,77 @@
import com.beust.kobalt.buildScript
import com.beust.kobalt.localMaven
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.Developer
import org.apache.maven.model.License
import org.apache.maven.model.Model
import org.apache.maven.model.Scm
val bs = buildScript {
repos(localMaven())
plugins("net.thauvin.erik:kobalt-maven-local:")
}
val dev by profile()
val kobaltDependency = if (dev) "kobalt-plugin-api" else "kobalt-plugin-api"
val p = project {
name = "kobalt-pom2xml"
group = "net.thauvin.erik"
artifactId = name
version = "0.1.0"
pom = Model().apply {
description = "pom2xml plug-in for the Kobalt build system."
url = "https://github.com/ethauvin/kobalt-pom2xml"
licenses = listOf(License().apply {
name = "BSD 3-Clause"
url = "https://opensource.org/licenses/BSD-3-Clause"
})
scm = Scm().apply {
url = "https://github.com/ethauvin/kobalt-pom2xml"
connection = "https://github.com/ethauvin/kobalt-pom2xml.git"
developerConnection = "git@github.com:ethauvin/kobalt-pom2xml.git"
}
developers = listOf(Developer().apply {
id = "ethauvin"
name = "Erik C. Thauvin"
email = "erik@thauvin.net"
})
}
dependencies {
compile("com.beust:$kobaltDependency:")
compile("org.jetbrains.kotlin:kotlin-stdlib:1.2.10")
}
dependenciesTest {
compile("org.testng:testng:6.12")
}
assemble {
jar {
fatJar = true
}
mavenJars {
fatJar = true
}
}
autoGitTag {
enabled = true
push = false
message = "Version $version"
}
bintray {
publish = true
description = "Release version $version"
vcsTag = version
}
}

Binary file not shown.

View file

@ -0,0 +1 @@
kobalt.version=1.0.93