diff --git a/sablecc-runtime/build.gradle b/sablecc-runtime/build.gradle
index 9fb2145f1fd89f80b1a0c1299dfaf5b4843e3a06..04aef5c5b058f2adec7fc1c8b3f13a0736ee9e05 100644
--- a/sablecc-runtime/build.gradle
+++ b/sablecc-runtime/build.gradle
@@ -5,7 +5,7 @@ plugins {
 }
 
 java {
-  sourceCompatibility = JavaVersion.VERSION_1_7
+  sourceCompatibility = JavaVersion.VERSION_1_8
   withSourcesJar()
   withJavadocJar()
 }