File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,4 +34,53 @@ tasks.withType(JavaCompile).configureEach {
3434
3535javadoc {
3636 options. encoding = ' UTF-8'
37+ }
38+
39+ publishing {
40+ publications {
41+ mavenJava(MavenPublication ) {
42+ groupId = ' io.github'
43+ artifactId = ' pluginlangcore'
44+ version = project. version
45+ from components. java
46+
47+ pom {
48+ name = ' PluginLangCore'
49+ description = ' A comprehensive language and message management library for Minecraft plugins'
50+ url = ' https://github.com/NighterDevelopment/PluginLangCore'
51+
52+ licenses {
53+ license {
54+ name = ' MIT License'
55+ url = ' https://opensource.org/licenses/MIT'
56+ }
57+ }
58+
59+ developers {
60+ developer {
61+ id = ' nighter'
62+ name = ' Nighter'
63+ email = ' notnighter@gmail.com'
64+ }
65+ }
66+
67+ scm {
68+ connection = ' scm:git:git://github.com/NighterDevelopment/PluginLangCore.git'
69+ developerConnection = ' scm:git:ssh://github.com/NighterDevelopment/PluginLangCore.git'
70+ url = ' https://github.com/NighterDevelopment/PluginLangCore'
71+ }
72+ }
73+ }
74+ }
75+
76+ repositories {
77+ maven {
78+ name = " GitHubPackages"
79+ url = uri(" https://maven.pkg.github.com/NighterDevelopment/PluginLangCore" )
80+ credentials {
81+ username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_ACTOR" )
82+ password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN" )
83+ }
84+ }
85+ }
3786}
You can’t perform that action at this time.
0 commit comments