-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (41 loc) · 1.01 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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
`java-library`
`maven-publish`
id("io.ktor.plugin") version "2.3.1"
}
application {
mainClass.set("clean2048.Clean2048")
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
dependencies {
implementation("com.googlecode.lanterna:lanterna:3.1.1")
implementation("org.projectlombok:lombok:1.18.26")
implementation("com.google.code.gson:gson:2.10.1")
testImplementation("junit:junit:4.13.1")
compileOnly("org.projectlombok:lombok:1.18.26")
annotationProcessor("org.projectlombok:lombok:1.18.26")
}
ktor {
fatJar {
archiveFileName.set("2048.jar")
}
}
group = "groupId"
version = "1.0-SNAPSHOT"
description = "Clean2048"
java.sourceCompatibility = JavaVersion.VERSION_17
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}