Skip to content
This repository was archived by the owner on Sep 14, 2021. It is now read-only.
This repository was archived by the owner on Sep 14, 2021. It is now read-only.

task compileJava throws warnings #288

Description

@syslogic

This happens when building with JDK 1.8, while RELEASE_6 is JDK 1.6. These complaints probably would not be thrown, by already building the tools against JDK 1.7 or JDK 1.8. The mess seems to consists of 3 JDK versions, while the expected behavior would be, that it should build without complaints at least against JDK 1.7 or preferably altogether against JDK 1.8.

apply plugin: 'appengine'

// the below output is with / without these lines
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7

dependencies {
    appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.54'
}

:appengine:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
warning: Supported source version 'RELEASE_6' from annotation processor 
'com.google.appengine.tools.compilation.DatastoreCallbacksProcessor' less than -source '1.7'
1 warning

:appengine:compileJava
 warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appengine.tools.compilation.DatastoreCallbacksProcessor' less than -source '1.8'
1 warning

Q: How to fix the bootstrap class path? are these compatibility flags even required?
Q: How to upgrade the RELEASE_6 of the DatastoreCallbacksProcessor to RELEASE_7 or RELEASE_8?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions