java - Heroku 忽略 system.properties 文件

标签 java heroku

cat system.properties 
java.runtime.version=11

git push heroku master
Total 0 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Gradle app detected
remote: -----> Spring Boot detected
remote: -----> Installing JDK 1.8... done
remote: -----> Building Gradle app...
remote: -----> executing ./gradlew build -x test
remote:        Downloading https://services.gradle.org/distributions/gradle-5.6.3-all.zip
remote:        .....................................................................................................................................
remote:        To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.6.3/userguide/gradle_daemon.html.
remote:        Daemon will be stopped at the end of the build stopping after processing

为什么还是 JDK 1.8?

最佳答案

简单 git Push Heroku 开发:master 因为我在开发分支

关于java - Heroku 忽略 system.properties 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62419062/

相关文章:

java - 从另一个字符串数组中过滤字符串数组

java - (obj == null)与(null == obj)?

java - logback:登录到 System.out 和错误时的竞争条件

node.js - 使用 Node 和 Heroku 进行负载平衡

ruby-on-rails - -bash : ngrok: command not found

java - 当组件对齐为 "RIGHT_TO_LEFT"时,字符串连接中的错误行为

java - 如何将 spring-boot WAR 部署到 Tomcat?

ruby-on-rails - Ruby/Rails 报告工具?

java - Docker 中的 Spring Boot 应用程序收到 : Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch

postgresql - 如何将文件名传递给 Heroku pg :sql command?