mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
69 lines
1.5 KiB
Groovy
69 lines
1.5 KiB
Groovy
import com.android.builder.model.ProductFlavor
|
|
import org.apache.tools.ant.taskdefs.condition.Os
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion '26.0.1'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 26
|
|
|
|
versionName "5.1.2"
|
|
versionCode = 130
|
|
}
|
|
|
|
flavorDimensions "root"
|
|
|
|
productFlavors {
|
|
root {
|
|
// Android O has native mouse capture, so don't show the rooted
|
|
// version to devices running O on the Play Store.
|
|
maxSdkVersion 25
|
|
|
|
applicationId "com.limelight.root"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64"
|
|
}
|
|
|
|
dimension "root"
|
|
}
|
|
|
|
nonRoot {
|
|
applicationId "com.limelight"
|
|
ndk {
|
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64", "mips", "mips64"
|
|
}
|
|
|
|
dimension "root"
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')
|
|
}
|
|
}
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path "src/main/jni/Android.mk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.bouncycastle:bcprov-jdk15on:1.57'
|
|
implementation 'org.bouncycastle:bcpkix-jdk15on:1.57'
|
|
implementation files('libs/jcodec-0.1.9-patched.jar')
|
|
|
|
implementation project(':moonlight-common')
|
|
}
|