diff --git a/waltid-libraries/credentials/waltid-dif-definitions-parser/build.gradle.kts b/waltid-libraries/credentials/waltid-dif-definitions-parser/build.gradle.kts index 658264be9..0b086ee3e 100644 --- a/waltid-libraries/credentials/waltid-dif-definitions-parser/build.gradle.kts +++ b/waltid-libraries/credentials/waltid-dif-definitions-parser/build.gradle.kts @@ -70,10 +70,10 @@ publishing { publications { create("mavenJava") { pom { - name.set("walt.id verification policies") + name.set("walt.id DIF Definitions Parser") description.set( """ - Kotlin/Java library for Verification Policies + Kotlin/Java library for DIF definitions parsing """.trimIndent() ) url.set("https://walt.id") @@ -93,8 +93,8 @@ publishing { val usernameFile = File("secret_maven_username.txt") val passwordFile = File("secret_maven_password.txt") - val secretMavenUsername = usernameFile.let { if (it.isFile) it.readLines().first() else "" } - val secretMavenPassword = passwordFile.let { if (it.isFile) it.readLines().first() else "" } + val secretMavenUsername = envUsername ?: usernameFile.let { if (it.isFile) it.readLines().first() else "" } + val secretMavenPassword = envPassword ?: passwordFile.let { if (it.isFile) it.readLines().first() else "" } credentials { username = secretMavenUsername