irufus / gdax-java

Java based wrapper for Coinbase Pro (Formerly known as GDAX API and Coinbase Exchange API)
MIT License
177 stars 131 forks source link

./gradlew build Errors Execution failed for task ':model:compileJava'. > Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)' #73

Closed rockie12us closed 3 years ago

rockie12us commented 3 years ago

.gradlew build errors with Execution failed for task ':model:compileJava'. > Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'

Where can the target be changed?

rockie12us commented 3 years ago

To fix this, I had to download jdk11 from https://dzone.com/articles/installing-openjdk-11-on-macos

Then the steps of ./gradlew build and ./gradlew jar worked. I imported the .jar file into the libs folder and then right clicked on it and update gradle dependencies or something like that and it updated the app.

Might we somehow include these steps in the git hub readme?

robevansuk commented 3 years ago

this is a compatibility issue. Not a problem that is likely to be fixed in this repo