This commit is contained in:
Jerry Yan 2020-02-26 09:20:13 +08:00
parent e219d0b5d3
commit beedffcc6e
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,4 @@
package top.jerryyan.RN.A.FitFullScreen;
public class FitModule {
}

31
android/build.gradle Normal file
View File

@ -0,0 +1,31 @@
apply plugin: 'com.android.library'
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
android {
compileSdkVersion safeExtGet("compileSdkVersion", 28)
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
}
dependencies {
implementation 'com.facebook.react:react-native:+'
}