extern: always use java version 1.7

This is required because the fdroidclient app also explicitly sets java
version to 1.7 and the modules need to be compiled for the same version.
This commit is contained in:
Marcus Hoffmann 2017-10-20 14:07:07 +02:00
parent 5e612a67ff
commit b71173392d
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@ apply plugin: 'java'
version = '2.1.0' version = '2.1.0'
sourceCompatibility = 1.7
targetCompatibility = 1.7
jar { jar {
baseName = 'nanohttpd' baseName = 'nanohttpd'
} }

View File

@ -4,6 +4,9 @@ repositories {
jcenter() jcenter()
} }
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies { dependencies {
compile 'com.madgag.spongycastle:pkix:1.53.0.0' compile 'com.madgag.spongycastle:pkix:1.53.0.0'
compile 'com.madgag.spongycastle:prov:1.53.0.0' compile 'com.madgag.spongycastle:prov:1.53.0.0'