Displee / rs-cache-library

A library written in Kotlin used to read and write to all cache formats of RuneScape.
MIT License
66 stars 34 forks source link

Mavendeployer repositorys #48

Closed FFritzl closed 9 months ago

FFritzl commented 2 years ago
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
            repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
                authentication(userName: ossrhUsername, password: ossrhPassword)
            }
            snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
                authentication(userName: ossrhUsername, password: ossrhPassword)
            }

gives an error

BigG207 commented 1 year ago

uploadArchives { repositories { mavenDeployer { beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { authentication(userName: hasProperty('ossrhUsername')?ossrhUsername:'', password: hasProperty('ossrhPassword')?ossrhPassword:'') } snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { authentication(userName: hasProperty('ossrhUsername')?ossrhUsername:'', password: hasProperty('ossrhPassword')?ossrhPassword:'') }

BigG207 commented 1 year ago

use that ^

Displee commented 9 months ago

Done!