generated from alpas/starter
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
67 lines (55 loc) · 1.46 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
buildscript {
ext.kotlin_version = '1.3.61'
ext.ktorm_version = '2.5'
ext.alpas_version = '0.14.3'
}
plugins {
id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'com.github.johnrengelman.shadow' version '5.0.0'
}
startScripts {
applicationName = 'fireplace'
}
mainClassName = 'dev.alpas.fireplace.StartKt'
group 'dev.alpas.fireplace'
version '0.20.7'
repositories {
jcenter()
maven { url = uri("https://jitpack.io") }
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
// implementation "dev.alpas:framework:$alpas_version"
implementation 'com.github.alpas:alpas:6e0071'
implementation 'ch.qos.logback:logback-classic:1.3.0-alpha4'
implementation 'mysql:mysql-connector-java:5.1.46'
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
// testImplementation "dev.alpas:pulsar:$alpas_version"
testImplementation 'com.github.alpas.alpas:pulsar:6e0071'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'dev.alpas.fireplace.StartKt'
}
}
shadowJar {
destinationDir = file("./")
baseName = 'fireplace'
classifier = null
version = null
}
test {
useJUnitPlatform()
}
installDist {
destinationDir = file("./build/install/fireplace")
}