-
Notifications
You must be signed in to change notification settings - Fork 6
/
_build.gradle.kts
57 lines (57 loc) · 1.58 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
//import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
//import org.jetbrains.kotlin.config.KotlinCompilerVersion
//import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
//
//plugins {
// id("application")
// id("org.jetbrains.kotlin.jvm") version "1.3.61"
// id("com.github.johnrengelman.shadow") version "5.2.0"
//}
//
//group = "__PACKAGE__"
//version = "1.0.0"
//
//application {
// mainClassName = "__PACKAGE__.StartKt"
// applicationName = "__APP_NAME__"
// executableDir = "./build/install/__APP_NAME__"
//}
//
//repositories {
// jcenter()
// maven("https://jitpack.io")
// mavenCentral()
//}
//
//dependencies {
// val kotlin_version = "1.3.61"
// val alpas_version = "0.13.0"
//
// implementation(kotlin("stdlib", KotlinCompilerVersion.VERSION))
// implementation("dev.alpas:framework:$alpas_version")
// implementation("ch.qos.logback:logback-classic:1.3.0-alpha5")
// implementation("mysql:mysql-connector-java:8.0.19")
// implementation(kotlin("reflect", version = kotlin_version))
//
// testImplementation("dev.alpas:pulsar:$alpas_version")
// testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
//}
//
//tasks.withType<KotlinCompile> {
// kotlinOptions.jvmTarget = "1.9"
//}
//
//tasks.withType<Test> {
// useJUnitPlatform()
//}
//
//tasks.named<ShadowJar>("shadowJar") {
// destinationDirectory.file("./")
// archiveBaseName.set("__APP_NAME__")
// //archiveClassifier.set(null)
// //archiveVersion.set(null)
//
// manifest {
// attributes(mapOf("Main-Class" to "__PACKAGE__.StartKt"))
// }
//}