39 lines
No EOL
969 B
Kotlin
39 lines
No EOL
969 B
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
// kotlin("jvm") version "2.1.0"
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("testGenerator") {
|
|
id = "test-generator"
|
|
implementationClass = "com.example.TestGeneratorPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
/*
|
|
val checkEmojiKeyboard by tasks.registering(GenerateSchemeTask::class) {
|
|
|
|
}
|
|
*/
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
compilerOptions {
|
|
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9)
|
|
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9)
|
|
}
|
|
incremental = false
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(gradleApi())
|
|
|
|
implementation("com.squareup.moshi:moshi:1.15.0")
|
|
implementation("com.squareup.moshi:moshi-kotlin:1.15.0")
|
|
implementation("com.github.javaparser:javaparser-core:3.25.4")
|
|
implementation("com.squareup:kotlinpoet:1.15.0")
|
|
} |