Skip to content

Commit 9ae8c88

Browse files
committed
gradle kotlin DSL migration
fix parameters
1 parent 489baa4 commit 9ae8c88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ repositories {
2828
url = uri("https://www.oracle.com/content/secure/maven/content")
2929
credentials {
3030
// you may set this properties using gradle.properties file in the root of the project or in your GRADLE_HOME
31-
username = project.property("ORACLE_OTN_USER") as String? ?: System.getenv("ORACLE_OTN_USER")
32-
password = project.property("ORACLE_OTN_PASSWORD") as String? ?: System.getenv("ORACLE_OTN_PASSWORD")
31+
username = if (project.hasProperty("ORACLE_OTN_USER")) project.property("ORACLE_OTN_USER") as String? else System.getenv("ORACLE_OTN_USER")
32+
password = if (project.hasProperty("ORACLE_OTN_PASSWORD")) project.property("ORACLE_OTN_PASSWORD") as String? else System.getenv("ORACLE_OTN_PASSWORD")
3333
}
3434
}
3535
mavenCentral()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy