30 lines
725 B
Groovy
30 lines
725 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath libs.agp
|
|
classpath libs.kotlin.plugin
|
|
classpath libs.dokka
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
if (project.hasProperty('maven_publish_url')) {
|
|
pluginManager.withPlugin("com.vanniktech.maven.publish") {
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
url = maven_publish_url
|
|
credentials {
|
|
username = maven_publish_username
|
|
password = maven_publish_password
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|