-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (36 loc) · 1.04 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
repositories {
mavenCentral()
}
plugins {
id("com.gradle.plugin-publish") version "1.3.0"
`kotlin-dsl`
}
version = "1.0.0"
group = "io.github.lemcoder"
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
gradlePlugin {
website.set("https://github.com/lemcoder/KonanPlugin")
vcsUrl.set("https://github.com/lemcoder/KonanPlugin")
plugins {
create("KonanPlugin") {
id = "io.github.lemcoder.konanplugin"
implementationClass = "io.github.lemcoder.KonanPlugin"
displayName = "Konan Plugin"
description = "Gradle plugin to compile C sources to static libraries using Kotlin Konan compiler"
tags.set(listOf("cross-compile", "konan", "c", "kotlin"))
}
}
}
dependencies {
implementation(gradleApi())
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.0")
}