-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.55 KB
/
build.gradle
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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.9.0'
id 'org.jetbrains.dokka' version '1.8.20'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group 'io.hirasawa'
version '0.6.2'
sourceCompatibility = 17
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.code.gson:gson:2.10.1'
implementation group: 'at.favre.lib', name: 'bcrypt', version: '0.10.2'
implementation 'org.mariadb.jdbc:mariadb-java-client:3.4.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.12.0'
implementation "org.jetbrains.kotlin:kotlin-reflect:1.9.24"
implementation "org.jetbrains.kotlinx:kotlinx-html-jvm:0.11.0"
implementation 'org.jetbrains.exposed:exposed-core:0.50.0'
implementation 'org.jetbrains.exposed:exposed-dao:0.50.0'
implementation 'org.jetbrains.exposed:exposed-jdbc:0.50.0'
implementation 'org.jetbrains.exposed:exposed-java-time:0.50.0'
implementation 'com.h2database:h2:2.2.224'
implementation 'org.overviewproject:mime-types:2.0.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
}
test {
useJUnitPlatform()
maxHeapSize = '1G'
}
shadowJar {
relocate 'junit.framework', 'shadow.junit'
manifest {
attributes 'Main-Class': 'io.hirasawa.server.HirasawaBanchoKt'
attributes 'Implementation-Version': project.version
}
}