@@ -7,18 +7,16 @@ plugins {
77 id ' org.jetbrains.dokka' version ' 1.6.21'
88}
99
10- def projectVersion = (System . getenv(" VERSION" ) ?: ' 0.1.0 -SNAPSHOT' ). replaceFirst(" v" , " " ). replace(' /' , ' ' )
10+ def projectVersion = (System . getenv(" VERSION" ) ?: ' 0.1.1 -SNAPSHOT' ). replaceFirst(" v" , " " ). replace(' /' , ' ' )
1111
1212group ' xyz.theprogramsrc'
1313version projectVersion
14- description ' Networking module for SimpleCore API.'
14+ description ' Tasks manager module for SimpleCore API.'
1515
1616repositories {
1717 mavenLocal()
1818 mavenCentral()
1919
20- maven { url ' https://repo.theprogramsrc.xyz/repository/maven-public/' }
21- maven { url ' https://repo.theprogramsrc.xyz/repository/simplecoreapi-modules/' }
2220 maven { url ' https://oss.sonatype.org/content/repositories/snapshots/' }
2321 maven { url ' https://oss.sonatype.org/content/repositories/releases/' }
2422 maven { url ' https://oss.sonatype.org/content/groups/public/' }
@@ -85,10 +83,12 @@ publishing {
8583 repositories {
8684 if (System . getenv(' env' ) == ' prod' ){
8785 maven {
88- name = ' TheProgramSrcRepository'
89- credentials. username = System . getenv(' NEXUS_USERNAME' )
90- credentials. password = System . getenv(' NEXUS_PASSWORD' )
91- url = uri(" https://repo.theprogramsrc.xyz/repository/simplecoreapi-modules/" )
86+ name = ' GitHubPackages'
87+ url = ' https://maven.pkg.github.com/TheProgramSrc/SimpleCore-TasksModule'
88+ credentials {
89+ username = System . getenv(' GITHUB_ACTOR' )
90+ password = System . getenv(' GITHUB_TOKEN' )
91+ }
9292 }
9393 }else {
9494 mavenLocal()
@@ -110,4 +110,4 @@ publishing {
110110 }
111111}
112112
113- publish. dependsOn clean, test, jar, shadowJar
113+ publish. dependsOn clean, test, jar, shadowJar
0 commit comments