-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
48 lines (39 loc) · 1.17 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
41
42
43
44
45
46
47
48
@file:Suppress("VulnerableLibrariesLocal")
plugins {
java
kotlin("jvm")
val dgtVersion = "2.6.0"
id("dev.deftu.gradle.tools") version(dgtVersion)
id("dev.deftu.gradle.tools.publishing.maven") version(dgtVersion)
}
repositories {
maven("https://maven.minecraftforge.net/")
maven("https://libraries.minecraft.net/")
maven("https://repo.polyfrost.org/releases")
maven("https://repo.polyfrost.org/snapshots")
}
dependencies {
implementation("org.polyfrost:polyio:0.1.0")
compileOnly("org.lwjgl:lwjgl:3.3.3")
compileOnly("net.minecraft:launchwrapper:1.12")
}
publishing {
repositories {
fun MavenArtifactRepository.setupPolyfrostRepo() {
credentials(PasswordCredentials::class.java)
authentication {
create<BasicAuthentication>("basic")
}
}
maven {
name = "polyfrostReleases"
url = uri("https://repo.polyfrost.org/releases")
setupPolyfrostRepo()
}
maven {
name = "polyfrostSnapshots"
url = uri("https://repo.polyfrost.org/snapshots")
setupPolyfrostRepo()
}
}
}