mirror of
https://github.com/zhigang1992/react-native-progress-display.git
synced 2026-04-28 12:25:08 +08:00
chore: fix native compile
This commit is contained in:
@@ -1,25 +1,28 @@
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:1.3.1'
|
||||
classpath 'com.android.tools.build:gradle:3.3.2'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
def safeExtGet(prop, fallback) {
|
||||
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "23.0.1"
|
||||
compileSdkVersion safeExtGet('compileSdkVersion', 28)
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 22
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
minSdkVersion safeExtGet('minSdkVersion', 16)
|
||||
targetSdkVersion safeExtGet('targetSdkVersion', 28)
|
||||
|
||||
versionCode 2
|
||||
versionName "1.1"
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
|
||||
@@ -6,13 +6,13 @@ Pod::Spec.new do |s|
|
||||
s.description = <<-DESC
|
||||
RNProgressHud
|
||||
DESC
|
||||
s.homepage = ""
|
||||
s.homepage = "https://github.com/zhigang1992/react-native-progress-display"
|
||||
s.license = "MIT"
|
||||
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
||||
s.author = { "author" => "author@domain.cn" }
|
||||
s.platform = :ios, "7.0"
|
||||
s.source = { :git => "https://github.com/author/RNProgressHud.git", :tag => "master" }
|
||||
s.source_files = "RNProgressHud/**/*.{h,m}"
|
||||
s.source_files = "**/*.{h,m}"
|
||||
s.requires_arc = true
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "react-native-progress-display",
|
||||
"name": "@zhigang1992/react-native-progress-display",
|
||||
"version": "1.0.1",
|
||||
"description": "React Native wrapper for SVProgressHUD library on iOS and KProgressHUD library on Android.",
|
||||
"main": "progresshud.js",
|
||||
|
||||
Reference in New Issue
Block a user