-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (38 loc) · 1.13 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
46
plugins {
/*
* Currently this plugin can't be used until multi-module (monorepos) are supported.
*
* Consequently releases will have to be manually released from Nexus :'(
*/
//id "io.github.gradle-nexus.publish-plugin"
id "maven-publish"
id "org.jetbrains.dokka"
}
group "au.com.redcrew.apisdkcreator"
allprojects {
apply plugin: "maven-publish"
repositories {
mavenCentral()
// Needed for Dokka
jcenter()
}
publishing {
repositories {
maven {
def releasesUrl = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
def snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
name = "deploy"
url = releasesUrl
credentials {
username = System.getenv("OSSRH_USERNAME") ?: ""
password = System.getenv("OSSRH_PASSWORD") ?: ""
}
}
}
}
}
ext {
arrowVersion = "1.0.1"
kotlinCoroutinesVersion = "1.6.0"
kotestVersion = "5.1.0"
}