1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-24 23:47:11 -07:00
kobalt/modules/kobalt/build.gradle

80 lines
2.9 KiB
Groovy

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.2.71'
id "com.github.johnrengelman.shadow" version "5.0.0"
}
dependencies {
implementation project(':wrapper')
implementation project(':kobalt-plugin-api')
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.2.71'
implementation 'org.jetbrains.kotlin:kotlin-compiler-embeddable:1.2.71'
implementation 'com.github.spullara.mustache.java:compiler:0.9.5'
implementation 'javax.inject:javax.inject:1'
implementation 'com.google.inject:guice:4.2.2'
implementation 'com.google.inject.extensions:guice-assistedinject:4.2.2'
implementation 'com.beust:jcommander:1.72'
implementation 'org.apache.maven:maven-model:3.5.2'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'biz.aQute.bnd:biz.aQute.bndlib:3.5.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
implementation 'com.sparkjava:spark-core:2.6.0'
implementation 'org.codehaus.groovy:groovy:2.4.12'
implementation 'org.apache.maven.resolver:maven-resolver-spi:1.1.0'
implementation 'javax.xml.bind:jaxb-api:2.3.0'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.0'
implementation 'com.sun.xml.bind:jaxb-core:2.3.0'
implementation 'com.sun.activation:javax.activation:1.2.0'
testImplementation 'org.assertj:assertj-core:3.8.0'
testImplementation 'org.jetbrains.kotlin:kotlin-test:1.2.71'
testImplementation 'org.testng:testng:6.12'
}
sourceSets {
main.kotlin.srcDirs += "${rootProject.projectDir}../../src/main/kotlin"
test.kotlin.srcDirs += "${rootProject.projectDir}../../src/test/kotlin"
}
shadowJar {
classifier = null
}
test {
useTestNG()
}
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
artifact sourcesJar
artifact javadocJar
pom {
name = project.name
description = 'A build system in Kotlin'
url = 'https://beust.com/kobalt'
licenses {
license {
name = 'Apache-2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0'
}
}
developers {
developer {
name = 'Cedric Beust'
email = 'cedric@beust.com'
}
}
scm {
connection = 'scm:https://github.com/cbeust/kobalt.git'
developerConnection = 'scm:git@github.com:cbeust/kobalt.git'
url = 'https://github.com/cbeust/kobalt'
}
}
}
}
}