-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
45 lines (38 loc) · 1.15 KB
/
build.gradle.kts
File metadata and controls
45 lines (38 loc) · 1.15 KB
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
import java.util.Base64
val kotlin_version: String by project
plugins {
application
kotlin("jvm") version "1.6.10"
}
group = "com.sergeysav"
version = "0.0.1"
application {
mainClass.set("com.sergeysav.ApplicationKt")
applicationDefaultJvmArgs = listOf("-Dio.ktor.development=true")
}
repositories {
mavenCentral()
maven { url = uri("https://maven.pkg.jetbrains.space/public/p/ktor/eap") }
maven {
url = uri("https://maven.pkg.github.com/SergeySave/WebsiteGenerator")
credentials {
username = "SergeySave"
password = String(Base64.getDecoder().decode("Z2hwX2dYanZYUmVDOEtvNUZWOEczQ3JrVUhkdUszMnBTTzBQNXp2TA=="))
}
}
}
dependencies {
implementation("com.sergeysav:website-generator:1.0.2")
api("org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3")
api("org.jetbrains.kotlin-wrappers:kotlin-css:1.0.0-pre.312-kotlin-1.6.10")
implementation(kotlin("reflect"))
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}