Browse Source

meadme 提交

houjie 4 years ago
parent
commit
38436f3b3e
1 changed files with 58 additions and 2 deletions
  1. 58 2
      README.md

+ 58 - 2
README.md

@@ -1,6 +1,62 @@
 # ChartAndCalendarView
 
 https://github.com/PhilJay/MPAndroidChart
-修改MPAndroidChart 满足我的需求。
+修改MPAndroidChart 满足我的需求。
 https://github.com/huanghaibin-dev/CalendarView
-修改CalendarView已满足我们的需求
+修改CalendarView 以满足我们的需求
+
+
+引用方式:
+allprojects {
+    repositories {
+        maven {
+            url 'https://maven.aliyun.com/repository/public'
+        }
+
+        maven {
+            credentials {
+                username 'X5HkvA'
+                password '******'
+            }
+            url 'https://repo.rdc.aliyun.com/repository/135529-release-r0qrQe/'
+        }
+        
+    }
+}
+
+//步数,股票表格控件(从github上clone下来,修改源码满足我们的产品需求)
+api 'com.airsmart.github.lib:MPAndroidChart:1.0.4'
+//日历控件(从github上clone下来,修改源码满足我们的产品需求)
+api 'com.airsmart.github.lib:calendarview:1.0.0'
+
+
+修改代码之后,这里要改一下版本号,上传到我们的远程maven库
+
+apply plugin: 'maven'
+
+uploadArchives {
+    repositories{
+        mavenDeployer {
+            repository(url:"https://repo.rdc.aliyun.com/repository/135529-release-r0qrQe/") {
+                authentication(userName:"X5HkvA", password:"******")
+            }
+            pom.version="1.0.0"
+            pom.artifactId="calendarview" // 对应 appcompat-v7
+            pom.groupId="com.airsmart.github.lib" // com.android.support
+        }
+    }
+}
+
+MPAndroidChart 同上类似
+
+远程maven库是用的,阿里云效率
+https://repomanage.rdc.aliyun.com/my/repo
+账号:kiwi_muzen
+密码;保密
+
+可以通过公司手机号码 133 1658 9376 通过验证码登录,或者支付宝扫描登录。
+注意:此maven库是团队私有maven库,只提供给内部用,不能给外部用。
+
+
+
+