-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (61 loc) · 1.9 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.flywaydb:flyway-mysql:8.5.4"
}
}
plugins {
id 'org.springframework.boot' version '2.6.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.20-RC2'
id "org.flywaydb.flyway" version "8.5.4"
}
group 'net.yogstation'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'net.yogstation.yogbot.Yogbot'
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation 'com.discord4j:discord4j-core:3.2.2'
implementation 'io.netty:netty-resolver-dns-native-macos:4.1.75.Final:osx-aarch_64'
implementation 'mysql:mysql-connector-java:8.0.28'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.apache.commons:commons-text:1.9'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.flywaydb:flyway-core:8.5.4"
implementation "org.flywaydb:flyway-mysql:8.5.4"
implementation "org.springframework:spring-jdbc"
constraints {
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.1") {
because "CVE 2020-36518"
}
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
// Configuration for flyway with the default db credentials
// Details on how to override this can be found https://flywaydb.org/documentation/usage/gradle/#installation
flyway {
url = 'jdbc:mysql://localhost:3306/yogbot'
user = 'username'
password = 'password'
schemas = ['yogbot']
}