| 6 | gradlePlugin { |
| 7 | plugins { |
| 8 | register("telegramBuildPlugin") { |
| 9 | id = "org.telegram.build-plugin" |
| 10 | implementationClass = "org.telegram.plugin.TelegramBuildPlugin" |
| 11 | } |
| 12 | register("telegramBuildAppPlugin") { |
| 13 | id = "org.telegram.build-app-plugin" |
| 14 | implementationClass = "org.telegram.plugin.TelegramBuildAppPlugin" |
| 15 | } |
| 16 | register("testGenerator") { |
| 17 | id = "test-generator" |
| 18 | implementationClass = "com.example.TestGeneratorPlugin" |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 |
| 23 | repositories { |
| 24 | google() |
| 25 | mavenCentral() |
| 26 | gradlePluginPortal() |
| 27 | } |
| 28 | /* |
| 29 | val checkEmojiKeyboard by tasks.registering(GenerateSchemeTask::class) { |
| 30 |
| 31 | } |
| 32 | */ |
| 33 | tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach { |
| 34 | compilerOptions { |
| 35 | languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 36 | apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 37 | } |
| 38 | incremental = false |
| 39 | } |
| 40 |
| 41 | dependencies { |
| 42 | implementation(gradleApi()) |
| 43 | implementation("com.android.tools.build:gradle:8.13.2") |
| 44 |
| 45 | implementation("com.squareup.moshi:moshi:1.15.0") |
| 46 | implementation("com.squareup.moshi:moshi-kotlin:1.15.0") |
| 47 | implementation("com.github.javaparser:javaparser-core:3.25.4") |
| 48 | implementation("com.squareup:kotlinpoet:1.15.0") |
| 49 | implementation("com.google.code.gson:gson:2.11.0") |
| 50 | } |