{"action":"created","issue":{"url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/1","labels_url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/1/comments","events_url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/1/events","html_url":"https://github.com/mmichaelis/hamcrest-nextdeed/issues/1","id":89951862,"number":1,"title":"compileJava: bootstrap class path not set in conjunction with -source 1.7","user":{"login":"mmichaelis","id":71911,"avatar_url":"https://avatars.githubusercontent.com/u/71911?v=3","gravatar_id":"","url":"https://api.github.com/users/mmichaelis","html_url":"https://github.com/mmichaelis","followers_url":"https://api.github.com/users/mmichaelis/followers","following_url":"https://api.github.com/users/mmichaelis/following{/other_user}","gists_url":"https://api.github.com/users/mmichaelis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmichaelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmichaelis/subscriptions","organizations_url":"https://api.github.com/users/mmichaelis/orgs","repos_url":"https://api.github.com/users/mmichaelis/repos","events_url":"https://api.github.com/users/mmichaelis/events{/privacy}","received_events_url":"https://api.github.com/users/mmichaelis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-21T19:42:01Z","updated_at":"2015-06-21T20:03:53Z","closed_at":null,"body":"Building hamcrest-nextdeed (tested on Windows 8 with JDK8) files a warning during build (if cleaned before):\r\n\r\n```\r\n:clean\r\n:compileJava\r\nwarning: [options] bootstrap class path not set in conjunction with -source 1.7\r\n1 warning\r\n```\r\n\r\n(same for `compileTestJava`).\r\n\r\nThis seems to be a known issue but no workaround has proven to work up to now.\r\n\r\nOn debug level gradle reports:\r\n\r\n```\r\n21:38:46.911 [DEBUG] [org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler] Compiler arguments: -source 1.7 -target 1.7 -d D:\\Documents\\GitHub\\hamcrest\r\n-nextdeed\\build\\classes\\main -g -sourcepath D:\\Documents\\GitHub\\hamcrest-nextdeed\\build\\tmp\\compileJava\\emptySourcePathRef -classpath C:\\Users\\Mark\\.gradle\\cach\r\nes\\modules-2\\files-2.1\\org.hamcrest\\java-hamcrest\\2.0.0.0\\f1c8853ade0ecf707f5a261c830e98893983813\\java-hamcrest-2.0.0.0.jar;C:\\Users\\Mark\\.gradle\\caches\\modules\r\n-2\\files-2.1\\org.jetbrains\\annotations\\13.0\\919f0dfe192fb4e063e7dacadee7f8bb9a2672a9\\annotations-13.0.jar D:\\Documents\\GitHub\\hamcrest-nextdeed\\src\\main\\java\\co\r\nm\\github\\mmichaelis\\hamcrest\\nextdeed\\concurrent\\package-info.java D:\\Documents\\GitHub\\hamcrest-nextdeed\\src\\main\\java\\com\\github\\mmichaelis\\hamcrest\\nextdeed\\c\r\noncurrent\\WaitFor.java D:\\Documents\\GitHub\\hamcrest-nextdeed\\src\\main\\java\\com\\github\\mmichaelis\\hamcrest\\nextdeed\\function\\ApplyingMatcher.java D:\\Documents\\Gi\r\ntHub\\hamcrest-nextdeed\\src\\main\\java\\com\\github\\mmichaelis\\hamcrest\\nextdeed\\function\\Function.java D:\\Documents\\GitHub\\hamcrest-nextdeed\\src\\main\\java\\com\\gith\r\nub\\mmichaelis\\hamcrest\\nextdeed\\function\\package-info.java -XDuseUnsharedTable=true\r\n21:38:46.930 [INFO] [org.gradle.api.internal.tasks.compile.JdkJavaCompiler] Compiling with JDK Java compiler API.\r\n21:38:47.098 [ERROR] [system.err] warning: [options] bootstrap class path not set in conjunction with -source 1.7\r\n```\r\n\r\n### References\r\n\r\n* [\\[GRADLE-2183\\] compileJava ignores project.sourceCompatibility - Gradle Issues][GRADLE-2183]\r\n* [Enforcing targetCompatibility when compiling Java code with the Groovy plugin - Old Forum - Gradle Forums][gradle.org-5065]\r\n* [java - Gradle sourceCompatibility has no effect to subprojects - Stack Overflow][stackoverflow-21028438]\r\n\r\n[GRADLE-2183]: <https://issues.gradle.org/browse/GRADLE-2183> \"[GRADLE-2183] compileJava ignores project.sourceCompatibility - Gradle Issues\"\r\n[gradle.org-5065]: <https://discuss.gradle.org/t/enforcing-targetcompatibility-when-compiling-java-code-with-the-groovy-plugin/5065> \"Enforcing targetCompatibility when compiling Java code with the Groovy plugin - Old Forum - Gradle Forums\"\r\n[stackoverflow-21028438]: <http://stackoverflow.com/questions/21028438/gradle-sourcecompatibility-has-no-effect-to-subprojects> \"java - Gradle sourceCompatibility has no effect to subprojects - Stack Overflow\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/comments/113950831","html_url":"https://github.com/mmichaelis/hamcrest-nextdeed/issues/1#issuecomment-113950831","issue_url":"https://api.github.com/repos/mmichaelis/hamcrest-nextdeed/issues/1","id":113950831,"user":{"login":"mmichaelis","id":71911,"avatar_url":"https://avatars.githubusercontent.com/u/71911?v=3","gravatar_id":"","url":"https://api.github.com/users/mmichaelis","html_url":"https://github.com/mmichaelis","followers_url":"https://api.github.com/users/mmichaelis/followers","following_url":"https://api.github.com/users/mmichaelis/following{/other_user}","gists_url":"https://api.github.com/users/mmichaelis/gists{/gist_id}","starred_url":"https://api.github.com/users/mmichaelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmichaelis/subscriptions","organizations_url":"https://api.github.com/users/mmichaelis/orgs","repos_url":"https://api.github.com/users/mmichaelis/repos","events_url":"https://api.github.com/users/mmichaelis/events{/privacy}","received_events_url":"https://api.github.com/users/mmichaelis/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T20:03:53Z","updated_at":"2015-06-21T20:03:53Z","body":"The message disappears once I set source and target compatibility to java version 1.8 (when compiling with Java 8). But as this is not what I want to achieve, this is not a solution."}}