CaptchaPlaguBotPlugin/build.gradle

55 lines
2.1 KiB
Groovy
Raw Normal View History

2021-02-17 09:11:01 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
}
2021-02-17 14:15:41 +00:00
apply from: "./publish.gradle"
2021-02-17 13:24:28 +00:00
project.group = "$project_group"
2021-02-18 13:01:41 +00:00
project.version = "$project_version"
2021-02-17 13:24:28 +00:00
2021-02-17 09:11:01 +00:00
repositories {
2021-02-17 13:24:28 +00:00
mavenLocal()
2021-02-17 09:11:01 +00:00
mavenCentral()
2021-02-17 13:24:28 +00:00
jcenter()
2021-03-17 15:38:23 +00:00
if ((project.hasProperty("GITHUB_USER") || System.getenv("GITHUB_USER") != null) && (project.hasProperty("GITHUB_TOKEN") || System.getenv("GITHUB_TOKEN") != null)) {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/InsanusMokrassar/TelegramBotApiLibraries")
credentials {
username = project.hasProperty("GITHUB_USER") ? project.getProperty("GITHUB_USER") : System.getenv("GITHUB_USER")
password = project.hasProperty("GITHUB_TOKEN") ? project.getProperty("GITHUB_TOKEN") : System.getenv("GITHUB_TOKEN")
}
}
2021-03-25 00:53:42 +00:00
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/InsanusMokrassar/MicroUtils")
credentials {
username = project.hasProperty("GITHUB_USER") ? project.getProperty("GITHUB_USER") : System.getenv("GITHUB_USER")
password = project.hasProperty("GITHUB_TOKEN") ? project.getProperty("GITHUB_TOKEN") : System.getenv("GITHUB_TOKEN")
}
}
2021-03-17 15:38:23 +00:00
}
2021-02-17 09:11:01 +00:00
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlin_serialisation_runtime_version"
api "dev.inmo:plagubot.plugin:$plagubot_version"
2021-02-17 13:24:28 +00:00
api "dev.inmo:micro_utils.repos.exposed:$micro_utils_version"
2021-02-23 06:00:44 +00:00
api "dev.inmo:tgbotapi.libraries.cache.admins.plagubot:$tgbotapi_libraries_version"
2021-02-17 09:11:01 +00:00
}