From f5680b59a5a8a8262f82f7bed402da11a1832ad6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 8 Jun 2017 19:57:55 -0700 Subject: [PATCH] Use debug moonlight-common with asserts enabled on debug builds and release moonlight-common with asserts disabled on release builds --- app/build.gradle | 4 +++- moonlight-common | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index bf0e2cc5..353d5940 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -56,6 +56,8 @@ android { dependencies { compile 'org.bouncycastle:bcprov-jdk15on:1.52' compile 'org.bouncycastle:bcpkix-jdk15on:1.52' - compile project(':moonlight-common') compile files('libs/jcodec-0.1.9-patched.jar') + + debugCompile project(path:':moonlight-common', configuration:'debug') + releaseCompile project(path:':moonlight-common', configuration:'release') } diff --git a/moonlight-common b/moonlight-common index 23f001e5..4e0bffc0 160000 --- a/moonlight-common +++ b/moonlight-common @@ -1 +1 @@ -Subproject commit 23f001e5e36ebc9da1937f08445a48e1eb9877d0 +Subproject commit 4e0bffc0b3c3ec5a0b74c01ae84f4bd69cff52d7