mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
58 lines
1.3 KiB
Groovy
58 lines
1.3 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.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 25
|
|
|
|
versionName "5.0.0"
|
|
versionCode = 120
|
|
}
|
|
|
|
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')
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path "src/main/jni/Android.mk"
|
|
}
|
|
}
|
|
}
|
|
|
|
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')
|
|
}
|