-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle.kts
34 lines (30 loc) · 973 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
plugins {
kotlin("jvm")
`kotlin-dsl`
`java-gradle-plugin`
alias(libs.plugins.ktlinter)
alias(libs.plugins.gradle.publish)
}
gradlePlugin {
website = "https://vendeli.eu"
vcsUrl = "https://github.com/vendelieu/telegram-bot"
plugins.register("telegram-bot") {
id = "eu.vendeli.telegram-bot"
displayName = "Telegram-bot Gradle Plugin"
description = "A plugin for customizing and adding Telegram-bot library."
@Suppress("UnstableApiUsage")
tags = listOf("kotlin", "telegram", "bot", "spring-boot", "ktor", "multiplatform")
implementationClass = "eu.vendeli.ktgram.gradle.KtGramPlugin"
}
}
tasks.processResources {
val projectVersion = project.version
inputs.property("version", projectVersion)
filesMatching("ktgram.properties") {
expand("ktgramVer" to projectVersion)
}
}
dependencies {
compileOnly(libs.kotlin.gradlePlugin)
compileOnly(libs.ksp.plugin)
}