forked from project-mirai/mirai-api-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 1 KB
/
build.gradle.kts
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
plugins {
id("io.codearte.nexus-staging") version "0.30.0"
id("me.him188.maven-central-publish") version "1.0.0-dev-3" // to retrieve credentials
}
buildscript {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
google()
}
val kotlinVersion: String by project.extra
val atomicFuVersion: String by project.extra
dependencies {
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicFuVersion")
}
}
allprojects {
group = "net.mamoe"
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
google()
}
}
nexusStaging {
packageGroup = "net.mamoe" // from Sonatype accounts, do not change
username = mavenCentralPublish.credentials?.sonatypeUsername
password = mavenCentralPublish.credentials?.sonatypePassword
}