| 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("NagramPatchPlugin") { |
| 17 | id = "xyz.nagram.auto-patch-plugin" |
| 18 | implementationClass = "xyz.nagram.plugin.NagramPatchPlugin" |
| 19 | } |
| 20 | register("testGenerator") { |
| 21 | id = "test-generator" |
| 22 | implementationClass = "com.example.TestGeneratorPlugin" |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 |
| 27 | repositories { |
| 28 | google() |
| 29 | mavenCentral() |
| 30 | gradlePluginPortal() |
| 31 | } |
| 32 | /* |
| 33 | val checkEmojiKeyboard by tasks.registering(GenerateSchemeTask::class) { |
| 34 |
| 35 | } |
| 36 | */ |
| 37 | tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach { |
| 38 | compilerOptions { |
| 39 | languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 40 | apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9) |
| 41 | } |
| 42 | incremental = false |
| 43 | } |
| 44 |
| 45 | dependencies { |
| 46 | implementation(gradleApi()) |
| 47 | implementation("com.android.tools.build:gradle:8.13.2") |
| 48 |
| 49 | implementation("com.squareup.moshi:moshi:1.15.0") |
| 50 | implementation("com.squareup.moshi:moshi-kotlin:1.15.0") |
| 51 | implementation("com.github.javaparser:javaparser-core:3.25.4") |
| 52 | implementation("com.squareup:kotlinpoet:1.15.0") |
| 53 | implementation("com.google.code.gson:gson:2.11.0") |
| 54 | } |