Change templates and test code so that the sample is 1.7 compatible

Alas.
This commit is contained in:
Silvio Heuberger
2016-01-22 16:46:12 +01:00
parent 8bb774f821
commit d60f7d1186
9 changed files with 300 additions and 139 deletions

View File

@@ -71,8 +71,8 @@ if(hasProperty('target') && target == 'android') {
apply plugin: 'java'
apply plugin: 'maven'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
install {
repositories.mavenInstaller {

View File

@@ -100,8 +100,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>