mirror of
https://github.com/jlengrand/Exposed.git
synced 2026-03-10 08:11:20 +00:00
48 lines
1.2 KiB
Kotlin
48 lines
1.2 KiB
Kotlin
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
|
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|
import org.jetbrains.exposed.gradle.setupDialectTest
|
|
import tanvd.kosogor.proxy.publishJar
|
|
|
|
plugins {
|
|
kotlin("jvm") apply true
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":exposed-core"))
|
|
}
|
|
|
|
publishJar {
|
|
publication {
|
|
artifactId = "exposed-jodatime"
|
|
}
|
|
|
|
bintray {
|
|
username = project.properties["bintrayUser"]?.toString() ?: System.getenv("BINTRAY_USER")
|
|
secretKey = project.properties["bintrayApiKey"]?.toString() ?: System.getenv("BINTRAY_API_KEY")
|
|
repository = "exposed"
|
|
info {
|
|
publish = false
|
|
githubRepo = "https://github.com/JetBrains/Exposed.git"
|
|
vcsUrl = "https://github.com/JetBrains/Exposed.git"
|
|
userOrg = "kotlin"
|
|
license = "Apache-2.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(Test::class.java) {
|
|
jvmArgs = listOf("-XX:MaxPermSize=256m")
|
|
testLogging {
|
|
events.addAll(listOf(TestLogEvent.PASSED, TestLogEvent.FAILED, TestLogEvent.SKIPPED))
|
|
showStandardStreams = true
|
|
exceptionFormat = TestExceptionFormat.FULL
|
|
}
|
|
}
|
|
|
|
val dialect: String by project
|
|
|
|
setupDialectTest(dialect) |