所有1.3版都与哪个版本的Java兼容?
我找不到有关问题的任何信息: BUILDING.txt文件源代码中的Java hamcrest all v1.3与哪个版本兼容?包含以下语句:所有1.3版都与哪个版本的Java兼容?,java,hamcrest,Java,Hamcrest,我找不到有关问题的任何信息: BUILDING.txt文件源代码中的Java hamcrest all v1.3与哪个版本兼容?包含以下语句: --[ Build requirements ]------------------------------------- * JDK 1.5 Note: that this is a buildtime dependency for 1.5 specific features. However the final built jars sho
--[ Build requirements ]-------------------------------------
* JDK 1.5
Note: that this is a buildtime dependency for 1.5 specific
features. However the final built jars should run on 1.4
and 1.3 JVMs with some features unavailable.
Ant build.xml中的javac命令进一步支持这一点
看起来像,但你为什么不呢?
<javac srcdir="@{srcdir}" destdir="build/temp/@{modulename}-${version}.jar.contents"
debug="${debug}" target="1.5" includeantruntime="false">
...
</javac>
import static org.gradle.api.JavaVersion.VERSION_1_7
sourceCompatibility = VERSION_1_7
targetCompatibility = VERSION_1_7