From 854d62dc6f6cfe1a589524103cbf7ad0227bc7a3 Mon Sep 17 00:00:00 2001 From: badlogic Date: Mon, 18 May 2015 16:38:45 +0200 Subject: [PATCH] Fixed build script --- ContractR/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ContractR/build.gradle b/ContractR/build.gradle index a685c4f5..be134894 100644 --- a/ContractR/build.gradle +++ b/ContractR/build.gradle @@ -28,6 +28,9 @@ allprojects { project(":core") { apply plugin: "java" + sourceCompatibility = 1.7 + targetCompatibility = 1.7 + dependencies { compile "net.engio:mbassador:1.2.0" compile "org.xerial:sqlite-jdbc:3.7.2" @@ -38,6 +41,9 @@ project(":core") { project(":android") { apply plugin: 'com.android.application' + sourceCompatibility = 1.7 + targetCompatibility = 1.7 + android { compileSdkVersion 22 buildToolsVersion "22.0.1" @@ -55,6 +61,10 @@ project(":android") { targetCompatibility JavaVersion.VERSION_1_6 } + lintOptions { + abortOnError false + } + buildTypes { release { minifyEnabled false @@ -75,6 +85,9 @@ project(":android") { project(":ios") { apply plugin: "java" apply plugin: "robovm" + + sourceCompatibility = 1.8 + targetCompatibility = 1.8 dependencies { compile project(":core")