Gradle compileJava task warning: [options] bootstrap class path not set in conjunction with -source 1.6

后端 未结 4 1441
轮回少年
轮回少年 2020-12-06 09:20

Below is the content of the build.gradle file:

apply plugin: \'java\'

archivesBaseName    = \'foo-bar\'
version             = \'1.0\'
sourc         


        
4条回答
  •  太阳男子
    2020-12-06 09:50

    The solution to define the JVM for gradle at workspace level is not ideal. In the case of multiple projects/builds on different JVMs, this cannot be used.

    In Eclipse Kepler with Spring Gradle plugin (3.3.0) it is possible to define the JVM for your gradle build task (External tool).

    At External Tool Configuration | Arguments | Java Home you can define which JVM should be used for the build.

提交回复
热议问题