Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
Widget
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Android Widget
Widget
Commits
b1227ad7
Commit
b1227ad7
authored
Aug 08, 2019
by
王韦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[new] 引入maven
parent
424aa9d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
build.gradle
app/build.gradle
+3
-1
build.gradle
build.gradle
+11
-1
TopBarReadMe.MD
widgetlib/TopBarReadMe.MD
+21
-1
No files found.
app/build.gradle
View file @
b1227ad7
...
@@ -31,5 +31,7 @@ dependencies {
...
@@ -31,5 +31,7 @@ dependencies {
testImplementation
'junit:junit:4.12'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'androidx.test:runner:1.2.0'
androidTestImplementation
'androidx.test:runner:1.2.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.2.0'
implementation
project
(
path:
':widgetlib'
)
// implementation project(path: ':widgetlib')
implementation
'com.qmai.android.sdk:widget:1.1.1-SNAPSHOT@aar'
implementation
project
(
path:
':tools'
)
}
}
build.gradle
View file @
b1227ad7
...
@@ -3,9 +3,15 @@
...
@@ -3,9 +3,15 @@
buildscript
{
buildscript
{
ext
.
kotlin_version
=
'1.3.41'
ext
.
kotlin_version
=
'1.3.41'
repositories
{
repositories
{
maven
{
url
'http://maven.aliyun.com/nexus/content/groups/public/'
}
// 阿里云镜像
maven
{
url
'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}
google
()
google
()
jcenter
()
jcenter
()
maven
{
url
'https://hub.zmcms.cn/repository/maven-public/'
}
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:3.4.2'
classpath
'com.android.tools.build:gradle:3.4.2'
...
@@ -17,11 +23,15 @@ buildscript {
...
@@ -17,11 +23,15 @@ buildscript {
allprojects
{
allprojects
{
repositories
{
repositories
{
maven
{
url
'http://maven.aliyun.com/nexus/content/groups/public/'
}
// 阿里云镜像
maven
{
url
'http://maven.aliyun.com/nexus/content/repositories/jcenter'
}
google
()
google
()
jcenter
()
jcenter
()
maven
{
maven
{
url
'https://hub.zmcms.cn/repository/maven-public/'
url
'https://hub.zmcms.cn/repository/maven-public/'
}
}
}
}
}
}
...
...
widgetlib/TopBarReadMe.MD
View file @
b1227ad7
#### `QmTopBar`
#### `QmTopBar`
----
接入方法
接入方法
项目的根 build.gradle加入
````
maven {
url 'https://hub.zmcms.cn/repository/maven-public/'
}
````
````
app 的 build.gradle 中加入
````
debugImplementation 'com.qmai.android.sdk:widget:1.1.1-SNAPSHOT'
releaseImplementation 'com.qmai.android.sdk:widget:1.1.1'
````
````
----------
用法
用法
```
```
<com.qimai.android.widgetlib.topbar.QmTopBar
<com.qimai.android.widgetlib.topbar.QmTopBar
...
@@ -97,4 +115,6 @@
...
@@ -97,4 +115,6 @@
#### changelog
#### changelog
\ No newline at end of file
version 1.1.1 创建项目
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment