mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
bfe587979d
This includes real tests too.
56 lines
1.4 KiB
Groovy
56 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
manifestPlaceholders = [
|
|
|
|
MI_APP_ID : "2882303761517722456",
|
|
MI_APP_KEY : "5731772292456",
|
|
|
|
HMS_APP_ID : "100221325",
|
|
|
|
MEIZU_APP_ID : "113616",
|
|
MEIZU_APP_KEY: "fcd886f51c144b45b87a67a28e2934d1",
|
|
|
|
VIVO_APP_ID : "12918",
|
|
VIVO_APP_KEY : "c42feb05-de6c-427d-af55-4f902d9e0a75"
|
|
]
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility 1.8
|
|
targetCompatibility 1.8
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.huawei.android.hms:push:2.5.3.305'
|
|
implementation 'com.huawei.android.hms:base:2.5.3.305'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
|
|
implementation project(':client')
|
|
implementation 'com.meizu.flyme.internet:push-internal:3.4.2@aar'
|
|
|
|
def lifecycle_version = '2.2.0-alpha05'
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
|
}
|