-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
51 lines (40 loc) · 1.29 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
val kotlin_version = "1.4.31"
val autoService = "1.0-rc6"
plugins {
`java-gradle-plugin` apply true
kotlin("jvm") version "1.4.31"
kotlin("kapt") version "1.4.31"
id("com.gradle.plugin-publish") version "0.14.0"
`maven-publish`
}
group = "dev.gitlive"
version = "1.0.0"
repositories {
mavenCentral()
}
description = "Gitlive gradle plugin, for serving the javascript types plugin"
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin-api:${kotlin_version}")
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}")
compileOnly("com.google.auto.service:auto-service-annotations:${autoService}")
kapt("com.google.auto.service:auto-service:${autoService}")
}
gradlePlugin {
plugins {
create("gitlivePlugin") {
id = "dev.gitlive"
displayName = "Gitlive Plugin"
description = "Gitlive Kotlin plugin"
implementationClass = "dev.gitlive.GitliveGradlePlugin"
}
}
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
pluginBundle {
website = "https://github.com/rnett/krosstalk"
vcsUrl = "https://github.com/rnett/krosstalk.git"
tags = listOf("kotlin", "js", "server", "api")
}