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 {
28
28
url = uri(" https://www.oracle.com/content/secure/maven/content" )
29
29
credentials {
30
30
// 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" )
33
33
}
34
34
}
35
35
mavenCentral()
You can’t perform that action at this time.
0 commit comments