This is an automated email from the ASF dual-hosted git repository.

nkruber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-training.git


The following commit(s) were added to refs/heads/master by this push:
     new 90da3df  [hotfix] trim whitespace before checking enable_scala
90da3df is described below

commit 90da3df94809f9af00857dd0747c697b6a00e441
Author: Nico Kruber <[email protected]>
AuthorDate: Wed Sep 1 22:22:01 2021 +0200

    [hotfix] trim whitespace before checking enable_scala
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 9178112..ce693c6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -43,7 +43,7 @@ allprojects {
 
 subprojects {
     apply plugin: 'java'
-    if (project.properties['org.gradle.project.enable_scala'] == 'true') {
+    if (project.properties['org.gradle.project.enable_scala'].trim() == 
'true') {
         apply plugin: 'scala'
     }
     apply plugin: 'com.github.johnrengelman.shadow'

Reply via email to