1
0
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-11-17 08:23:41 +01:00
mangadex_at_home/build.gradle

65 lines
2.0 KiB
Groovy
Raw Normal View History

2020-06-07 00:52:25 +02:00
plugins {
id "java"
id "org.jetbrains.kotlin.jvm" version "1.3.72"
id "application"
id "com.github.johnrengelman.shadow" version "5.2.0"
2020-06-07 00:52:25 +02:00
id "com.diffplug.gradle.spotless" version "3.18.0"
2020-06-16 00:25:31 +02:00
id "dev.afanasev.sekret" version "0.0.3"
2020-06-07 00:52:25 +02:00
}
group = "com.mangadex"
version = "git describe --tags --dirty".execute().text.trim()
2020-06-18 00:41:04 +02:00
mainClassName = "mdnet.base.Main"
2020-06-07 00:52:25 +02:00
repositories {
mavenCentral()
jcenter()
}
dependencies {
2020-06-16 00:25:31 +02:00
compileOnly group:"dev.afanasev", name: "sekret-annotation", version: "0.0.3"
2020-06-07 00:52:25 +02:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
2020-06-16 00:25:31 +02:00
implementation group: "commons-io", name: "commons-io", version: "2.7"
2020-06-07 00:52:25 +02:00
implementation group: "org.http4k", name: "http4k-core", version: "$http_4k_version"
implementation group: "org.http4k", name: "http4k-format-jackson", version: "$http_4k_version"
2020-06-16 00:25:31 +02:00
implementation group: "org.http4k", name: "http4k-client-apache", version: "$http_4k_version"
implementation group: "org.http4k", name: "http4k-server-netty", version: "$http_4k_version"
runtimeOnly group:"io.netty", name: "netty-tcnative-boringssl-static", version: "2.0.30.Final"
2020-06-12 21:56:51 +02:00
2020-06-16 00:25:31 +02:00
implementation group:"ch.qos.logback", name: "logback-classic", version: "1.2.1"
2020-06-14 01:19:04 +02:00
2020-06-16 00:25:31 +02:00
implementation group: "org.jetbrains.exposed", name: "exposed-core", version: "$exposed_version"
implementation group: "org.jetbrains.exposed", name: "exposed-dao", version: "$exposed_version"
implementation group: "org.jetbrains.exposed", name: "exposed-jdbc", version: "$exposed_version"
implementation group: "org.xerial", name: "sqlite-jdbc", version: "3.30.1"
2020-06-07 00:52:25 +02:00
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
spotless {
java {
2020-06-12 21:56:51 +02:00
indentWithSpaces(4)
2020-06-07 00:52:25 +02:00
eclipse()
removeUnusedImports()
trimTrailingWhitespace()
endWithNewline()
}
kotlin {
2020-06-12 21:56:51 +02:00
indentWithSpaces(4)
2020-06-07 00:52:25 +02:00
ktlint()
trimTrailingWhitespace()
endWithNewline()
}
}
run {
args = ["dev/settings.json"]
}