Enforce minimum Java version at compile time

Description

Problem: Java version is not being checked at compile time, meaning developers can start a build with an unsupported version of Java and will get compiler errors rather than a version warning.

Root Cause: uPortal is setting `sourceCompatibility` in `gradle.properties`, this creates a dynamic property, which cannot be picked up by the JavaCompile tasks in uPortal

Environment

None

Assignee

Christian Murphy

Reporter

Christian Murphy

Labels

Estimated End Date

None

Components

Fix versions

Affects versions

Priority

Major
Configure