-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (37 loc) · 1.36 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.5.21'
repositories {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'io.github.gradle-nexus.publish-plugin' version "1.1.0"
id 'org.jetbrains.dokka' version "1.5.0"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
project.ext.set("groupId", "io.github.tompee26")
project.ext.set("versionCode", "0.5.0")
project.ext.set("publishUrl", "https://github.com/tompee26/Bunch")
project.ext.set("license", "MIT License")
project.ext.set("licenseUrl", "https://github.com/tompee26/Bunch/blob/master/LICENSE.md")
project.ext.set("developerId", "tompee26")
project.ext.set("developerName", "Tompee Balauag")
project.ext.set("developerEmail", "tompee26@gmail.com")
project.ext.set("scmConnection", "scm:git:github.com/tompee26/Bunch.git")
project.ext.set("scmDevConnection", "scm:git:ssh://github.com/tompee26/Bunch.git")
project.ext.set("scmUrl", "https://github.com/tompee26/Bunch/tree/master")
task clean(type: Delete) {
delete rootProject.buildDir
}
apply plugin: 'io.github.gradle-nexus.publish-plugin'
apply from: "${rootDir}/scripts/publish-root.gradle"