initial commit2
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version '2.2.0'
|
||||
id 'org.jetbrains.kotlin.plugin.serialization' version '2.2.0'
|
||||
id 'com.gradleup.shadow' version '9.3.1'
|
||||
id 'org.jetbrains.dokka' version '2.2.0'
|
||||
}
|
||||
|
||||
group = 'lab8.prog'
|
||||
version = '1.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveBaseName.set('Lab7-server')
|
||||
archiveVersion.set('1.0')
|
||||
manifest {
|
||||
attributes 'Main-Class': 'MainKt'
|
||||
}
|
||||
}
|
||||
|
||||
task DMkt(type: JavaExec) {
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
mainClass = 'database.DatabaseManagerKt'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'org.jetbrains.kotlin:kotlin-test'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.10.0'
|
||||
implementation 'io.github.microutils:kotlin-logging-jvm:3.0.5'
|
||||
implementation "io.ktor:ktor-network:3.4.2"
|
||||
implementation "io.github.oshai:kotlin-logging-jvm:7.0.3"
|
||||
implementation "org.slf4j:slf4j-api:2.0.13"
|
||||
implementation "ch.qos.logback:logback-classic:1.5.20"
|
||||
implementation "io.fusionauth:fusionauth-jwt:6.0.0"
|
||||
|
||||
// oh my gawd
|
||||
implementation "org.jetbrains.exposed:exposed-core:1.2.0"
|
||||
implementation "org.jetbrains.exposed:exposed-jdbc:1.2.0"
|
||||
implementation "org.jetbrains.exposed:exposed-dao:1.2.0"
|
||||
implementation "org.jetbrains.exposed:exposed-java-time:1.2.0"
|
||||
implementation "org.postgresql:postgresql:42.7.8"
|
||||
implementation "com.zaxxer:HikariCP:4.0.3"
|
||||
|
||||
implementation project(':common')
|
||||
implementation "org.jetbrains.kotlin:kotlin-test:2.2.0"
|
||||
}
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
Reference in New Issue
Block a user