Skip to content

Commit f4fd10b

Browse files
author
pengyuantao
committed
feat:添加华为hms库工程
1 parent 0be658a commit f4fd10b

File tree

122 files changed

+5419
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+5419
-1
lines changed

one-push-huawei-hms-lib/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 25
5+
buildToolsVersion "25.0.3"
6+
7+
8+
defaultConfig {
9+
minSdkVersion 14
10+
targetSdkVersion 25
11+
versionCode 1
12+
versionName "2.5.2.302"
13+
14+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15+
16+
}
17+
18+
buildTypes {
19+
release {
20+
minifyEnabled false
21+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22+
}
23+
}
24+
25+
lintOptions {
26+
abortOnError false
27+
}
28+
29+
}
30+
31+
dependencies {
32+
compile fileTree(dir: 'libs', include: ['*.jar'])
33+
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
34+
exclude group: 'com.android.support', module: 'support-annotations'
35+
})
36+
compile 'com.android.support:appcompat-v7:25.3.1'
37+
testCompile 'junit:junit:4.12'
38+
39+
}
40+
41+
apply plugin: 'com.novoda.bintray-release'
42+
//设置所有工程编码为UTF-8编码,防止出现编码GBK的不可映射字符
43+
allprojects {
44+
tasks.withType(Javadoc) {
45+
options {
46+
encoding "UTF-8"
47+
charSet 'UTF-8'
48+
links "http://docs.oracle.com/javase/7/docs/api"
49+
}
50+
}
51+
}
52+
53+
publish {
54+
userOrg = 'pengyuantao'
55+
groupId = 'com.huawei.android.hms'
56+
artifactId = 'push'
57+
publishVersion = android.defaultConfig.versionName
58+
desc = 'Oh hi, this is a nice description for a project, right?'
59+
website = 'https://github.com/novoda/bintray-release'
60+
}
635 KB
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.huawei.android.hms" />
3.39 KB
Loading
3.39 KB
Loading
3.04 KB
Loading
7.11 KB
Loading
3.39 KB
Loading

0 commit comments

Comments
 (0)