From e31a316287db49f5c617cbeb0cc549fd7095ac3e Mon Sep 17 00:00:00 2001 From: Kapil Saini Date: Fri, 14 Jan 2022 15:23:46 +0530 Subject: [PATCH] Updating gsql_client version to 3.4.0 --- docs/basic_example.md | 2 +- docs/configuration.md | 2 +- docs/faq/faq.md | 2 +- docs/getting_started.md | 2 ++ gradle.properties | 2 +- src/main/kotlin/com/optum/giraffle/Configurations.kt | 2 +- src/main/kotlin/com/optum/giraffle/GsqlPlugin.kt | 2 +- template/docs/getting_started.md | 2 ++ 8 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/basic_example.md b/docs/basic_example.md index db80a0e..c589af3 100644 --- a/docs/basic_example.md +++ b/docs/basic_example.md @@ -25,7 +25,7 @@ build.gradle.kts import com.optum.giraffle.tasks.GsqlTask plugins { - id("com.optum.giraffle") version "1.3.5" + id("com.optum.giraffle") version "2.0" id("net.saliman.properties") version "1.5.1" } diff --git a/docs/configuration.md b/docs/configuration.md index 69c5b95..1370f9a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -126,7 +126,7 @@ is to import the class at the top of your build file. import com.optum.giraffle.tasks.GsqlTask plugins { - id("com.optum.giraffle") version "1.3.5" + id("com.optum.giraffle") version "2.0" } val createSchema by tasks.registering(GsqlTask::class) { diff --git a/docs/faq/faq.md b/docs/faq/faq.md index 04adb5c..1949aef 100644 --- a/docs/faq/faq.md +++ b/docs/faq/faq.md @@ -31,7 +31,7 @@ build.gradle.kts import com.optum.giraffle.tasks.GsqlTask plugins { - id("com.optum.giraffle") version "1.3.5" + id("com.optum.giraffle") version "2.0" id("net.saliman.properties") version "1.5.1" } diff --git a/docs/getting_started.md b/docs/getting_started.md index 7614cfe..fd2fba8 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -14,6 +14,8 @@ on a remote server. Giraffle also helps you keep environment specific configuration out of your code. Most importantly it helps you keep your credentials out of your code. +!> Version `2.0` changes the default gsql\_client to `3.4.0`. + !> Version `1.3.5` changes the default gsql\_client to `3.1.2`. This client is backwards compatible with previous versions. With `jcenter` shutting down it will be necessary to obtain the gsql\_client from a different repository. See diff --git a/gradle.properties b/gradle.properties index ff5c94f..691fa47 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ projectGroup=com.optum.giraffle -projectVersion=1.3.5 +projectVersion=2.0 projectDescription=Provides dsl and support for connection to Tigergraph servers, and executing scripts against Tigergraph. org.gradle.parallel=true diff --git a/src/main/kotlin/com/optum/giraffle/Configurations.kt b/src/main/kotlin/com/optum/giraffle/Configurations.kt index 24e0b36..35d9cf3 100644 --- a/src/main/kotlin/com/optum/giraffle/Configurations.kt +++ b/src/main/kotlin/com/optum/giraffle/Configurations.kt @@ -22,7 +22,7 @@ internal object Configurations { /** * The default gsql_client version */ - const val gsql_client_version = "3.1.2" + const val gsql_client_version = "3.4.0" /** * The version of net.saliman.properties to use in templates diff --git a/src/main/kotlin/com/optum/giraffle/GsqlPlugin.kt b/src/main/kotlin/com/optum/giraffle/GsqlPlugin.kt index a10aac3..d936c54 100644 --- a/src/main/kotlin/com/optum/giraffle/GsqlPlugin.kt +++ b/src/main/kotlin/com/optum/giraffle/GsqlPlugin.kt @@ -77,7 +77,7 @@ open class GsqlPlugin : Plugin { registerTokenTask(gsqlPluginExtension) registerDeleteTokenTask(gsqlPluginExtension) - logger.lifecycle("GSQL Plugin successfully applied to ${project.name}") + logger.lifecycle("GSQL Plugin 3_4_0 successfully applied to ${project.name}") tasks.withType(GsqlTask::class.java) { task -> task.dependsOn(gsqlCopySources) diff --git a/template/docs/getting_started.md b/template/docs/getting_started.md index ae7c1f8..48103fc 100644 --- a/template/docs/getting_started.md +++ b/template/docs/getting_started.md @@ -14,6 +14,8 @@ on a remote server. Giraffle also helps you keep environment specific configuration out of your code. Most importantly it helps you keep your credentials out of your code. +!> Version `2.0` changes the default gsql\_client to `3.4.0`. + !> Version `1.3.5` changes the default gsql\_client to `3.1.2`. This client is backwards compatible with previous versions. With `jcenter` shutting down it will be necessary to obtain the gsql\_client from a different repository. See