-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
39 lines (32 loc) · 912 Bytes
/
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
import com.vanniktech.maven.publish.*
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0"
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.6.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.2'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
plugins.withId("com.vanniktech.maven.publish.base") {
group "com.lazygeniouz"
version "1.0.8"
mavenPublishing {
signAllPublications()
pomFromGradleProperties()
publishToMavenCentral(SonatypeHost.S01, true)
configure(new AndroidSingleVariantLibrary("release"))
}
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}