Skip to content

Commit 8dfb2ee

Browse files
committed
Dependencies added.
Signed-off-by: Pavel Erokhin (MairwunNx) <[email protected]>
1 parent 4e20120 commit 8dfb2ee

File tree

5 files changed

+41
-4
lines changed

5 files changed

+41
-4
lines changed

build.gradle

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ buildscript {
2222
}
2323
}
2424

25+
plugins {
26+
id "maven-publish"
27+
id "java-library"
28+
id 'maven'
29+
}
30+
2531
apply(plugin: "net.minecraftforge.gradle")
2632
apply(plugin: "kotlin")
2733
apply(plugin: "kotlinx-serialization")
2834

35+
String packagesToken = new String(package_public_token.decodeBase64())
36+
2937
version = module_version
3038
group = "com.mairwunnx.$module_id"
3139
archivesBaseName = module_name
@@ -69,18 +77,46 @@ repositories {
6977
jcenter()
7078
mavenCentral()
7179
maven { url("https://libraries.minecraft.net") }
80+
maven {
81+
name = "GitHubPackages"
82+
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-core"
83+
credentials {
84+
username = "[email protected]"
85+
password = packagesToken
86+
}
87+
}
88+
maven {
89+
name = "GitHubPackages"
90+
url = uri "https://maven.pkg.github.com/projectessentials/projectessentials-permissions"
91+
credentials {
92+
username = "[email protected]"
93+
password = packagesToken
94+
}
95+
}
96+
maven {
97+
name = "GitHubPackages"
98+
url = uri "https://maven.pkg.github.com/ProjectEssentials/ProjectEssentials-Cooldown"
99+
credentials {
100+
username = "[email protected]"
101+
password = packagesToken
102+
}
103+
}
72104
}
73105

74106
dependencies {
75-
implementation fileTree(dir: 'libs', include: ['*.jar'])
76107
minecraft(group: "net.minecraftforge", name: "forge", version: forge_version)
77-
compile(group: "com.mojang", name: "brigadier", version: brigadier_version)
78-
compile(
108+
109+
implementation 'com.mairwunnx.project_essentials_core:ProjectEssentials-Core:1.14.4-1.3.0'
110+
implementation 'com.mairwunnx.project_essentials_permissions:ProjectEssentials-Permissions:1.14.4-1.2.1'
111+
implementation 'com.mairwunnx.project_essentials_cooldown:ProjectEssentials-Cooldown:1.14.4-1.0.4'
112+
113+
implementation(group: "com.mojang", name: "brigadier", version: brigadier_version)
114+
implementation(
79115
group: "org.jetbrains.kotlinx",
80116
name: "kotlinx-serialization-runtime",
81117
version: kotlinx_serialization_version
82118
)
83-
compile(
119+
implementation(
84120
group: "org.jetbrains.kotlin",
85121
name: "kotlin-stdlib-$kotlin_jdk_version_target",
86122
version: kotlin_version

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ module_version=1.14.4-1.2.0
1717
module_name=Project Essentials Home
1818
module_id=project_essentials_home
1919
module_vendor=MairwunNx (Pavel Erokhin)
20+
package_public_token=ZDhjMjgyNjlhM2E0ZTQ0MmM2Mjk5ZWI4YmMyZjI0YzNjOTNkMDVkZA==
-37.5 KB
Binary file not shown.
-68.3 KB
Binary file not shown.
-890 KB
Binary file not shown.

0 commit comments

Comments
 (0)