mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-14 19:20:29 +03:00
add basic test suite for gradlew-fdroid
!707
fdroiddata#6216
The se.manyver app is licensed MPL, the files came from:
81d247a6cd
This commit is contained in:
parent
83ffeb855f
commit
3de2d0f56f
13 changed files with 611 additions and 0 deletions
64
tests/source-files/se.manyver/android/build.gradle
Normal file
64
tests/source-files/se.manyver/android/build.gradle
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
ext {
|
||||
minSdkVersion = 21
|
||||
targetSdkVersion = 26
|
||||
targetSdkVersionForGooglePlay = 28
|
||||
compileSdkVersion = 28
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:3.4.2")
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
maven {
|
||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||
url("$rootDir/../node_modules/react-native/android")
|
||||
}
|
||||
maven {
|
||||
// Android JSC is installed from npm
|
||||
url("$rootDir/../node_modules/jsc-android/dist")
|
||||
}
|
||||
maven {
|
||||
url 'https://maven.google.com'
|
||||
}
|
||||
maven {
|
||||
url "https://jitpack.io"
|
||||
}
|
||||
google()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
subprojects { subproject ->
|
||||
afterEvaluate {
|
||||
if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
|
||||
android {
|
||||
variantFilter { variant ->
|
||||
def names = variant.flavors*.name
|
||||
if (names.contains("reactNative51")) setIgnore(true)
|
||||
if (names.contains("reactNative55")) setIgnore(true)
|
||||
if (names.contains("reactNative56")) setIgnore(true)
|
||||
if (names.contains("reactNative57")) setIgnore(true)
|
||||
if (names.contains("reactNative57_5")) setIgnore(true)
|
||||
if (names.contains("reactNative57WixFork")) setIgnore(true)
|
||||
if (names.contains("reactNative59")) setIgnore(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue