rimajon-ktor/build.gradle

55 lines
1.5 KiB
Groovy
Raw Normal View History

2020-09-21 21:25:21 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
2024-05-06 18:44:21 +00:00
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
2020-09-21 21:25:21 +00:00
apply plugin: 'kotlin'
apply plugin: 'application'
group 'dev.araozu'
version '0.0.1'
mainClassName = "io.ktor.server.netty.EngineMain"
sourceSets {
main.kotlin.srcDirs = main.java.srcDirs = ['src']
test.kotlin.srcDirs = test.java.srcDirs = ['test']
main.resources.srcDirs = ['resources']
test.resources.srcDirs = ['testresources']
}
repositories {
mavenLocal()
jcenter()
maven { url 'https://kotlin.bintray.com/ktor' }
}
2024-05-06 18:44:21 +00:00
shadowJar {
manifest {
attributes 'Main-Class': 'com.example.ApplicationKt'
}
}
2020-09-21 21:25:21 +00:00
dependencies {
compile("org.jetbrains.exposed:exposed-core:0.24.1")
compile("org.jetbrains.exposed:exposed-dao:0.24.1")
compile("org.jetbrains.exposed:exposed-jdbc:0.24.1")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
implementation "ch.qos.logback:logback-classic:$logback_version"
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-websockets:$ktor_version"
implementation "io.ktor:ktor-gson:$ktor_version"
implementation 'com.google.code.gson:gson:2.8.5'
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
2024-05-06 18:44:21 +00:00
// testImplementation 'io.kotest:kotest-runner-junit5:$version'
2020-09-21 21:25:21 +00:00
}