-
Notifications
You must be signed in to change notification settings - Fork 48
/
build.gradle
45 lines (38 loc) · 1.18 KB
/
build.gradle
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
35
36
37
38
39
40
41
42
43
44
45
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'minSdk': 21,
'compileSdk': 32,
'targetSdk': 32,
'buildTools':'32.1.0-rc1',
'kotlin':'1.6.10'
]
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.kotlinx:binary-compatibility-validator:0.7.0"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.5.0"
// classpath "io.github.gradle-nexus:publish-plugin:1.1.0"
}
}
plugins {
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
allprojects {
repositories {
mavenCentral()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply plugin: "io.github.gradle-nexus.publish-plugin"
apply plugin: 'org.jetbrains.dokka'
apply plugin: 'binary-compatibility-validator'
apply from: "$rootDir/maven-scripts/info.gradle"
apply from: "${rootDir}/maven-scripts/publish-root.gradle"