diff options
-rw-r--r-- | app/build.gradle | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/build.gradle b/app/build.gradle index f2ddd9cd..a258ca55 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,7 +30,7 @@ android { lintOptions { abortOnError false } - + sourceSets { main { assets.srcDirs = ['assets', 'ovpnlibs/assets'] @@ -41,8 +41,6 @@ android { assets.srcDirs = ['src/debug/assets'] } } - - //check.dependsOn connectedCheck } dependencies { @@ -155,4 +153,8 @@ task updateIcsOpenVpn( type: Copy, dependsOn: 'mergeUntranslatable') { include 'snappy/**' } into '.' } -//build.dependsOn ':app:mergeUntranslatable'
\ No newline at end of file + +assembleRelease.dependsOn connectedCheck +afterEvaluate { + installRelease.dependsOn connectedCheck +} |