generated from alpas/starter
-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
75 lines (60 loc) · 1.83 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
71
72
73
74
75
plugins {
id 'application'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id 'com.github.johnrengelman.shadow' version '5.2.0'
}
ext.kotlin_version = '1.3.72'
ext.flexmark_version = '0.61.0'
ext.alpas_version = '0.16.1'
startScripts {
applicationName = 'alpasdev'
}
mainClassName = 'dev.alpas.alpasdev.StartKt'
group 'dev.alpas.alpasdev'
version '0.20.6'
repositories {
jcenter()
maven { url = uri("https://jitpack.io") }
mavenCentral()
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'mysql:mysql-connector-java:8.0.19'
// compile project(':framework')
// testCompile project(':pulsar')
// implementation 'com.github.alpas:alpas:786260'
// testImplementation 'com.github.alpas.alpas:pulsar:786260'
implementation "dev.alpas:framework:$alpas_version"
testImplementation "dev.alpas:pulsar:$alpas_version"
implementation 'ch.qos.logback:logback-classic:1.3.0-alpha5'
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "com.vladsch.flexmark:flexmark:$flexmark_version"
implementation "com.vladsch.flexmark:flexmark-ext-autolink:$flexmark_version"
implementation "com.vladsch.flexmark:flexmark-ext-tables:$flexmark_version"
implementation 'redis.clients:jedis:3.2.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2'
}
run.doFirst { environment 'ALPAS_VERSION', alpas_version }
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'dev.alpas.alpasdev.StartKt'
}
}
shadowJar {
destinationDir = file("./")
baseName = 'alpasdev'
classifier = null
version = null
}
test {
useJUnitPlatform()
}
installDist {
destinationDir = file("./build/install/alpasdev")
}