@@ -2,11 +2,11 @@ plugins {
22 id ' org.jetbrains.kotlin.jvm' version ' 1.7.20'
33 id ' maven-publish'
44 id ' com.github.johnrengelman.shadow' version ' 7.1.2'
5- id ' net.kyori .blossom' version ' 1.2.0 '
5+ id ' cl.franciscosolis .blossom-extended ' version ' 1.3.1 '
66 id ' org.jetbrains.dokka' version ' 1.7.20'
77}
88
9- def projectVersion = (System . getenv(" VERSION" ) ?: ' 0.1.2 -SNAPSHOT' ). replaceFirst(" v" , " " ). replace(' /' , ' ' )
9+ def projectVersion = (System . getenv(" VERSION" ) ?: ' 0.1.3 -SNAPSHOT' ). replaceFirst(" v" , " " ). replace(' /' , ' ' )
1010
1111group ' xyz.theprogramsrc'
1212version projectVersion
@@ -27,7 +27,7 @@ repositories {
2727
2828dependencies {
2929 compileOnly ' org.jetbrains.kotlin:kotlin-stdlib:1.7.20'
30- compileOnly ' xyz.theprogramsrc:simplecoreapi:0.4.0 -SNAPSHOT'
30+ compileOnly ' xyz.theprogramsrc:simplecoreapi:0.4.5 -SNAPSHOT'
3131
3232 implementation ' me.carleslc.Simple-YAML:Simple-Yaml:1.8.2'
3333
@@ -90,10 +90,12 @@ publishing {
9090 repositories {
9191 if (System . getenv(' env' ) == ' prod' ){
9292 maven {
93- name = ' TheProgramSrcRepository'
94- credentials. username = System . getenv(' NEXUS_USERNAME' )
95- credentials. password = System . getenv(' NEXUS_PASSWORD' )
96- url = uri(" https://repo.theprogramsrc.xyz/repository/simplecoreapi-modules/" )
93+ name = ' GitHubPackages'
94+ url = ' https://maven.pkg.github.com/TheProgramSrc/SimpleCore-Filesmodule'
95+ credentials {
96+ username = System . getenv(' GITHUB_ACTOR' )
97+ password = System . getenv(' GITHUB_TOKEN' )
98+ }
9799 }
98100 }else {
99101 mavenLocal()
0 commit comments