@@ -22,10 +22,18 @@ buildscript {
2222 }
2323}
2424
25+ plugins {
26+ id " maven-publish"
27+ id " java-library"
28+ id ' maven'
29+ }
30+
2531apply(plugin : " net.minecraftforge.gradle" )
2632apply(plugin : " kotlin" )
2733apply(plugin : " kotlinx-serialization" )
2834
35+ String packagesToken = new String (package_public_token. decodeBase64())
36+
2937version = module_version
3038group = " com.mairwunnx.$module_id "
3139archivesBaseName = 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+ 85+ password = packagesToken
86+ }
87+ }
88+ maven {
89+ name = " GitHubPackages"
90+ url = uri " https://maven.pkg.github.com/projectessentials/projectessentials-permissions"
91+ credentials {
92+ 93+ password = packagesToken
94+ }
95+ }
96+ maven {
97+ name = " GitHubPackages"
98+ url = uri " https://maven.pkg.github.com/ProjectEssentials/ProjectEssentials-Cooldown"
99+ credentials {
100+ 101+ password = packagesToken
102+ }
103+ }
72104}
73105
74106dependencies {
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
0 commit comments