File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments