We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d4200e commit 8495cccCopy full SHA for 8495ccc
1 file changed
cardstackview/build.gradle
@@ -1,7 +1,7 @@
1
apply plugin: 'com.android.library'
2
apply plugin: 'com.github.dcendents.android-maven'
3
4
-group='com.github.brucezz'
+group = 'com.github.brucezz'
5
6
android {
7
compileSdkVersion 24
@@ -10,8 +10,8 @@ android {
10
defaultConfig {
11
minSdkVersion 14
12
targetSdkVersion 24
13
- versionCode 1
14
- versionName "1.0"
+ versionCode 4
+ versionName "1.4"
15
}
16
buildTypes {
17
release {
@@ -26,3 +26,17 @@ dependencies {
26
compile 'com.android.support:appcompat-v7:24.2.1'
27
testCompile 'junit:junit:4.12'
28
29
+// 指定编码
30
+tasks.withType(JavaCompile) {
31
+ options.encoding = "UTF-8"
32
+}
33
+
34
+// 打包源码
35
+task sourcesJar(type: Jar) {
36
+ from android.sourceSets.main.java.srcDirs
37
+ classifier = 'sources'
38
39
40
+artifacts {
41
+ archives sourcesJar
42
0 commit comments