mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
71 lines
1.8 KiB
Groovy
71 lines
1.8 KiB
Groovy
import com.android.builder.model.ProductFlavor
|
|
import org.apache.tools.ant.taskdefs.condition.Os
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "25.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 25
|
|
|
|
versionName "4.7.3"
|
|
versionCode = 107
|
|
}
|
|
|
|
productFlavors {
|
|
root {
|
|
applicationId "com.limelight.root"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64"
|
|
}
|
|
}
|
|
|
|
nonRoot {
|
|
applicationId "com.limelight"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64"
|
|
}
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
|
|
// These lines are required to avoid dexing issues with the BouncyCastle library
|
|
// bundled with limelight-common.jar
|
|
packagingOptions {
|
|
exclude 'META-INF/BCKEY.SF'
|
|
exclude 'META-INF/BCKEY.DSA'
|
|
}
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path "src/main/jni/Android.mk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.52'
|
|
compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.52'
|
|
|
|
compile group: 'com.squareup.okhttp', name: 'okhttp', version:'2.4.0'
|
|
compile group: 'com.squareup.okio', name:'okio', version:'1.5.0'
|
|
|
|
compile files('libs/jmdns-3.4.2.jar')
|
|
compile files('libs/limelight-common.jar')
|
|
compile files('libs/tinyrtsp.jar')
|
|
compile files('libs/jcodec-0.1.9-patched.jar')
|
|
}
|