50 lines
No EOL
1.4 KiB
Kotlin
50 lines
No EOL
1.4 KiB
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
// kotlin("jvm") version "2.1.0"
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("telegramBuildPlugin") {
|
|
id = "org.telegram.build-plugin"
|
|
implementationClass = "org.telegram.plugin.TelegramBuildPlugin"
|
|
}
|
|
register("telegramBuildAppPlugin") {
|
|
id = "org.telegram.build-app-plugin"
|
|
implementationClass = "org.telegram.plugin.TelegramBuildAppPlugin"
|
|
}
|
|
register("testGenerator") {
|
|
id = "test-generator"
|
|
implementationClass = "com.example.TestGeneratorPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
/*
|
|
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 {
|
|
implementation(gradleApi())
|
|
implementation("com.android.tools.build:gradle:8.13.2")
|
|
|
|
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")
|
|
implementation("com.google.code.gson:gson:2.11.0")
|
|
} |