-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (33 loc) · 996 Bytes
/
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
plugins {
kotlin("multiplatform") version libs.versions.kotlin apply false
kotlin("jvm") version libs.versions.kotlin apply false
kotlin("plugin.serialization") version libs.versions.kotlin apply false
id("maven-publish")
}
// Needs to do this because trying to access "libs" within the subprojects block doesn't work
val GABRIELA_VERSION = libs.versions.gabrielaImageServer
group = "net.perfectdreams.gabrielaimageserver"
version = GABRIELA_VERSION
repositories {
mavenCentral()
}
allprojects {
repositories {
mavenCentral()
maven("https://repo.perfectdreams.net/")
}
}
subprojects {
apply<MavenPublishPlugin>()
group = "net.perfectdreams.gabrielaimageserver"
version = GABRIELA_VERSION
publishing {
repositories {
maven {
name = "PerfectDreams"
url = uri("https://repo.perfectdreams.net/")
credentials(PasswordCredentials::class)
}
}
}
}