From 673a115b52a3e61918db2425bed9f99cd7998f79 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 24 Jun 2017 12:55:28 -0700 Subject: [PATCH] Update for Gradle 4 --- moonlight-common/build.gradle | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/moonlight-common/build.gradle b/moonlight-common/build.gradle index 92af083f..2f4209e7 100644 --- a/moonlight-common/build.gradle +++ b/moonlight-common/build.gradle @@ -4,9 +4,6 @@ android { compileSdkVersion 26 buildToolsVersion "26.0.0" - // Build release and debug libs - publishNonDefault true - defaultConfig { minSdkVersion 16 targetSdkVersion 26 @@ -31,7 +28,13 @@ android { } dependencies { - compile 'com.squareup.okhttp:okhttp:2.4.0' - compile 'com.squareup.okio:okio:1.5.0' - compile fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.squareup.okhttp:okhttp:2.4.0' + implementation 'com.squareup.okio:okio:1.5.0' + + implementation files('libs/tinyrtsp.jar') + + // We expose an interface containing a jmDNS class + // so we need to expose the jmDNS library to users + // at compile time. + api files('libs/jmdns-3.4.2.jar') }