This repository has been archived by the owner on Mar 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
66 lines (60 loc) · 2.53 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
plugins {
kotlin("jvm")
kotlin("plugin.serialization")
}
allprojects {
group = "com.osrs"
version = "1.0.0-SNAPSHOT"
apply {
plugin("org.jetbrains.kotlin.jvm")
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion))
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(JavaVersion.VERSION_17.majorVersion))
}
}
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://plugins.gradle.org/m2/")
}
dependencies {
// Kotlin standard-lib
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.8.0")
// Runetopic
implementation("com.runetopic.cryptography:cryptography:1.0.10-SNAPSHOT")
implementation("com.runetopic.cache:cache:1.7.7-SNAPSHOT")
// Pathfinder
implementation("com.github.blurite:pathfinder:2.4.2")
// Logger
implementation("com.michael-bull.kotlin-inline-logger:kotlin-inline-logger:1.0.4")
implementation("org.slf4j:slf4j-simple:2.0.5")
// Ktor
// https://mvnrepository.com/artifact/io.ktor/ktor-server-core
runtimeOnly("io.ktor:ktor-server-core:2.2.3")
// https://mvnrepository.com/artifact/io.ktor/ktor-server-netty
implementation("io.ktor:ktor-server-netty:2.2.3")
// Kotlin-guice
implementation("dev.misfitlabs.kotlinguice4:kotlin-guice:1.6.0")
// Kotlin-guice assisted inject https://mvnrepository.com/artifact/com.google.inject.extensions/guice-assistedinject
implementation("com.google.inject.extensions:guice-assistedinject:5.1.0")
// Serialization: https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-json
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
implementation("org.litote.kmongo:kmongo-id-serialization:4.8.0")
implementation("org.litote.kmongo:kmongo-serialization:4.8.0")
implementation("io.ktor:ktor-serialization-kotlinx-json:2.2.1")
implementation("io.ktor:ktor-server-content-negotiation:2.2.1")
// Bcrypt
implementation("org.mindrot:jbcrypt:0.4")
// Kaml - Yaml parser.
implementation("com.charleskorn.kaml:kaml:0.50.0")
// https://mvnrepository.com/artifact/io.github.classgraph/classgraph
implementation("io.github.classgraph:classgraph:4.8.154")
}
}