SRCRecordzz 35 1 10 9 Фев 2019 #1 Спойлер: (( error: strings in switch are not supported in -source 1.6 switch (particleName){ ^ (use -source 7 or higher to enable strings in switch) В Эклипсе же все нормально.
Спойлер: (( error: strings in switch are not supported in -source 1.6 switch (particleName){ ^ (use -source 7 or higher to enable strings in switch) В Эклипсе же все нормально.
Решение hohserg 9 Фев 2019 Компиль с совместимостью с java 8 Gradle (Groovy): sourceCompatibility = targetCompatibility = '1.8' compileJava { sourceCompatibility = targetCompatibility = '1.8' }
Компиль с совместимостью с java 8 Gradle (Groovy): sourceCompatibility = targetCompatibility = '1.8' compileJava { sourceCompatibility = targetCompatibility = '1.8' }
hohserg 7,099 324 1,510 9 Фев 2019 #2 Компиль с совместимостью с java 8 Gradle (Groovy): sourceCompatibility = targetCompatibility = '1.8' compileJava { sourceCompatibility = targetCompatibility = '1.8' } Позитивный голос 0 Негативный голос Решение
Компиль с совместимостью с java 8 Gradle (Groovy): sourceCompatibility = targetCompatibility = '1.8' compileJava { sourceCompatibility = targetCompatibility = '1.8' }