You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "devlhl (via GitHub)" <gi...@apache.org> on 2023/06/29 09:48:21 UTC

[GitHub] [flink-web] devlhl opened a new pull request, #660: [hotfix]

devlhl opened a new pull request, #660:
URL: https://github.com/apache/flink-web/pull/660

   [hotfix] Fix flinkVersionNew based on versions greater than or equal to 1.15


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink-web] devlhl commented on pull request #660: [hotfix] Fix flinkVersionNew >= 1.15

Posted by "devlhl (via GitHub)" <gi...@apache.org>.
devlhl commented on PR #660:
URL: https://github.com/apache/flink-web/pull/660#issuecomment-1613995036

   ext {
       // because the version 1.1.5+ without scalaBinaryVersion
       flinkVersionNew = flinkVersion.toString().replace("-SNAPSHOT", "") >= "1.15" 
   }
   if (flinkVersionNew) {
       mainClassName = '${organization}.DataStreamJob'
   } else {
       mainClassName = '${organization}.StreamingJob'
   }
   dependencies {
       if (flinkVersionNew) {
           implementation "org.apache.flink:flink-streaming-java:\${flinkVersion}"
           implementation "org.apache.flink:flink-clients:\${flinkVersion}"
       } else {
           implementation "org.apache.flink:flink-streaming-java_\${scalaBinaryVersion}:\${flinkVersion}"
           implementation "org.apache.flink:flink-clients_\${scalaBinaryVersion}:\${flinkVersion}"
       }
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org