mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-22 16:23:54 +00:00
32 lines
920 B
Groovy
32 lines
920 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
ext {
|
|
nativePartTemplate = "${rootProject.projectDir.absolutePath}/native_template.gradle"
|
|
}
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
if (project.hasProperty("GITHUB_USER") && project.hasProperty("GITHUB_TOKEN")) {
|
|
maven {
|
|
url "https://maven.pkg.github.com/InsanusMokrassar/TelegramBotAPI"
|
|
credentials {
|
|
username = project.getProperty("GITHUB_USER")
|
|
password = project.getProperty("GITHUB_TOKEN")
|
|
}
|
|
}
|
|
}
|
|
|
|
maven { url "https://git.inmo.dev/api/packages/InsanusMokrassar/maven" }
|
|
}
|
|
}
|