File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,19 @@ dependencies {
2626publishing {
2727 repositories {
2828 maven {
29+ authentication {
30+ credentials(PasswordCredentials ::class ) {
31+ // Those credentials need to be set under "Settings -> Secrets -> Actions" in your repository
32+ username = System .getenv(" ONELITEFEATHER_MAVEN_USERNAME" )
33+ password = System .getenv(" ONELITEFEATHER_MAVEN_PASSWORD" )
34+ }
35+ }
2936 name = " OneLiteFeatherRepository"
3037 url = if (project.version.toString().contains(" SNAPSHOT" )) {
3138 uri(" https://repo.onelitefeather.dev/onelitefeather-snapshots" )
3239 } else {
3340 uri(" https://repo.onelitefeather.dev/onelitefeather-releases" )
3441 }
35- credentials {
36- username = System .getenv(" ONELITEFEATHER_MAVEN_USERNAME" )
37- password = System .getenv(" ONELITEFEATHER_MAVEN_PASSWORD" )
38- }
39- credentials(PasswordCredentials ::class )
40- authentication {
41- create<BasicAuthentication >(" basic" )
42- }
4342 }
4443 }
4544 publications {
You can’t perform that action at this time.
0 commit comments