Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

48 lines
1.5 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'io.codearte.nexus-staging'
buildscript {
ext.kotlin_version = '1.3.61'
ext.kotlin_coroutines_version = '1.3.3'
repositories {
google()
mavenCentral()
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-dev'
content {
includeGroup('org.jetbrains.dokka')
}
}
maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.5-SNAPSHOT'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.20.2-dev-64'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-dev'
content {
includeGroup('org.jetbrains.dokka')
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}