File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88![ 效果图] ( /pic/pic001.jpeg )
99![ 效果图] ( /pic/demo20.gif )
1010
11+ ![ 尺寸说明] ( /pic/biaozhu.png )
12+
13+ <li >注释:此图解释参数意义,展示效果不太精确,图片真实宽度为**上层橙色**
14+
1115### Use
1216 implementation 'com.uis:stacklayout:0.2.1'
1317
Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
33buildscript {
4+
45 repositories {
56 maven { url ' http://maven.aliyun.com/nexus/content/groups/public/' }
67 jcenter()
78 google()
89 }
10+
911 dependencies {
1012 classpath ' com.android.tools.build:gradle:3.2.1'
1113 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
@@ -27,4 +29,7 @@ task clean(type: Delete) {
2729
2830ext {
2931 androidx = ' 1.0.0'
32+ compileVer = 28
33+ minVer = 15
34+ buildVer = ' 28.0.3'
3035}
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 28
5- buildToolsVersion " 28.0.3 "
4+ compileSdkVersion compileVer
5+ buildToolsVersion buildVer
66 defaultConfig {
77 applicationId " com.uis.stackview.demo"
8- minSdkVersion 14
9- targetSdkVersion 28
8+ minSdkVersion minVer
9+ targetSdkVersion compileVer
1010 versionCode 1
1111 versionName " 1.0"
1212 manifestPlaceholders = [
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-4.6 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.0 -all.zip
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
33android {
4- compileSdkVersion 28
5- buildToolsVersion " 28.0.3 "
4+ compileSdkVersion compileVer
5+ buildToolsVersion buildVer
66
77 defaultConfig {
8- minSdkVersion 14
9- targetSdkVersion 28
8+ minSdkVersion minVer
9+ targetSdkVersion compileVer
1010 versionCode 1
1111 versionName " 1.0"
1212 consumerProguardFiles ' proguard-rules.pro'
1313 }
14+
1415 buildTypes {
1516 release {
1617 minifyEnabled false
@@ -19,8 +20,4 @@ android {
1920 }
2021}
2122
22- dependencies {
23- implementation fileTree(dir : ' libs' , include : [' *.jar' ])
24- }
25-
2623// apply from: '../../bintray.gradle'
You can’t perform that action at this time.
0 commit comments