Я пытался создать новый проект, который успешно создается
Рабочее пространство Eclipse:

Код: Выделить всё
gradle -v
в файле сборки Gradle:
Код: Выделить всё
if(JavaVersion.current() != JavaVersion.VERSION_1_8)
throw new GradleException("This project requires Java 8, but it's running on "+JavaVersion.current())
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
Код: Выделить всё
The supplied phased action failed with an exception. A problem occurred configuring root project 'IntroToUnitTesting'. A problem occurred evaluating root project 'IntroToUnitTesting'. This project requires Java 8, but it's running on 18Подробнее здесь: https://stackoverflow.com/questions/727 ... in-eclipse
Мобильная версия