File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,28 +29,22 @@ subprojects {
2929 maven {
3030 name = " envyware"
3131 url = uri(" https://maven.envyware.co.uk/releases" )
32- credentials(PasswordCredentials ::class )
32+ credentials(PasswordCredentials )
3333 authentication {
34- create( " basic" )
34+ basic( BasicAuthentication )
3535 }
3636 }
3737 }
3838 publications {
39- create( " maven" ) {
39+ maven( MavenPublication ) {
4040 groupId = " com.envyful.api"
4141 artifactId = " api"
4242 version = " 1.0.0"
43- from( components[ " java" ])
43+ from components. java
4444 }
4545 }
4646 }
4747
48- // task notifyDiscordChannel(type: de.dosmike.sponge.pluginpublisher.gradle.NotifyDiscordTask) {
49- // webHookUrl.set("")
50- // messageHeader.set("API BUILD ${System.getenv("VERSION")}") //is optional
51- // messageBody.set('This is published in channel 1')
52- // }
53-
5448 repositories {
5549 mavenCentral()
5650 maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ org.gradle.daemon=false
22# org.gradle.parallel=true
33org.gradle.configureondemand =true
44org.gradle.jvmargs =-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
5- username = {secrets.MAVEN_NAME }
6- password = {secrets.MAVEN_TOKEN }
5+ envywareUsername = {token }
6+ envywarePassword = {secret }
You can’t perform that action at this time.
0 commit comments