| 6 | gradlePlugin { |
| 7 | plugins { |
| 8 | register("testGenerator") { |
| 9 | id = "test-generator" |
| 10 | implementationClass = "com.example.TestGeneratorPlugin" |
| 11 | } |
| 12 | } |
| 13 | } |
| 14 |
| 15 | repositories { |
| 16 | google() |
| 17 | mavenCentral() |
| 18 | } |
| 19 | /* |
| 20 | val checkEmojiKeyboard by tasks.registering(GenerateSchemeTask::class) { |
| 21 |
| 22 | } |
| 23 | */ |
| 24 | tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach { |
| 25 | compilerOptions { |
| 26 | languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 27 | apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 28 | } |
| 29 | incremental = false |
| 30 | } |
| 31 |
| 32 | dependencies { |
| 33 | compileOnly(gradleApi()) |
| 34 |
| 35 | implementation("com.squareup.moshi:moshi:1.15.0") |
| 36 | implementation("com.squareup.moshi:moshi-kotlin:1.15.0") |
| 37 | implementation("com.github.javaparser:javaparser-core:3.25.4") |
| 38 | implementation("com.squareup:kotlinpoet:1.15.0") |
| 39 | } |