Last active
June 24, 2020 02:06
-
-
Save Ramko9999/7b9414ec48347c4bface80f28316783d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.optum.giraffle.tasks.* | |
import com.optum.giraffle.* | |
buildscript { | |
this.dependencies{ | |
this.classpath("com.opencsv:opencsv:3.8") | |
} | |
} | |
plugins { | |
id("com.optum.giraffle") version "1.3.4.1" | |
id("net.saliman.properties") version "1.5.1" | |
} | |
repositories { | |
jcenter() | |
} | |
val gAdminPassword: String by project | |
val gAdminUserName: String by project | |
val gCertPath: String? by project | |
val gClientVersion: String? by project | |
val gGraphName: String by project | |
val gHost: String by project | |
val gHostUriType: String by project | |
val gPassword: String by project | |
val gRestPort: String by project | |
val gSecret: String? by project | |
val gUserName: String by project | |
val tokenMap: LinkedHashMap<String, String> = linkedMapOf( | |
"graphname" to gGraphName | |
) | |
tigergraph { | |
adminPassword.set(gAdminPassword) | |
adminUserName.set(gAdminUserName) | |
graphName.set(gGraphName) | |
password.set(gPassword) | |
scriptDir.set(file("scripts")) | |
serverName.set(gHost) | |
tokens.set(tokenMap) | |
uriScheme.set(UriScheme.HTTPS) | |
userName.set(gUserName) | |
gClientVersion?.let { | |
gsqlClientVersion.set(it) | |
} | |
gCertPath?.let { | |
caCert.set(it) | |
} | |
gSecret?.let { | |
authSecret.set(it) | |
} | |
logDir.set(file("./logs")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment