-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
58 lines (50 loc) · 1.56 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
58
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("com.gradle.plugin-publish") version "1.2.1"
`embedded-kotlin`
}
group = "tech.argonariod"
version = "1.2.0"
repositories {
mavenCentral()
}
dependencies {
@Suppress("PackageUpdate", "RedundantSuppression")
implementation("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.8.0-1.0.9")
@Suppress("PackageUpdate", "RedundantSuppression")
implementation("org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.8.0")
testImplementation("io.kotest:kotest-runner-junit5:5.8.0")
}
gradlePlugin {
website = "https://github.com/ArgonarioD/gradle-plugin-jimmer"
vcsUrl = "https://github.com/ArgonarioD/gradle-plugin-jimmer"
plugins {
create("jimmerPlugin") {
id = "tech.argonariod.gradle-plugin-jimmer"
displayName = "Gradle Plugin Jimmer"
description = "A plugin designed to simplify the integration of Java/Kotlin projects with Jimmer."
tags = listOf("jimmer")
implementationClass = "tech.argonariod.gradle.jimmer.JimmerPlugin"
}
}
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
apiVersion = "1.8"
languageVersion = "1.8"
compilerOptions {
javaParameters = true
freeCompilerArgs.apply {
add("-Xjvm-default=all")
add("-Xsam-conversions=class")
add("-Xjsr305=strict")
}
}
}
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(8)
}