Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
wujingchao committed Mar 21, 2015
1 parent 5266257 commit edd2914
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 205 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.gitignore
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
/.idea
.DS_Store
/build
.idea/
Expand Down
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,25 @@ ImageView with a tag in android. So it's a ImageView.
simple:simple_tag_enable="true"
simple:simple_tag_round_radius="20dp"/>

#### In order to use it , just import as a module in android studio. In gradle dependencies append :
compile project(':library') //library is your module name
### Quick Start

####Gradle

compile 'net.wujingchao.android.view:simple-tag-imageview:1.0.0'

####Maven
<dependency>
<groupId>net.wujingchao.android.view</groupId>
<artifactId>simple-tag-imageview</artifactId>
<version>1.0.0</version>
<type>aar</type>
</dependency>

####Ivy

<dependency org='simple-tag-imageview' name='net.wujingchao.android.view' rev='1.0.0'>
<artifact name='net.wujingchao.android.view' ext='aar'></artifact>
</dependency>

######You can mail me => [email protected]

Expand Down
2 changes: 1 addition & 1 deletion demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':library')
compile project(':simple-tag-imageview')
}
2 changes: 1 addition & 1 deletion demo/demo.iml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<orderEntry type="library" exported="" name="appcompat-v7-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.3" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.3" level="project" />
<orderEntry type="module" module-name="library" exported="" />
<orderEntry type="module" module-name="simple-tag-imageview" exported="" />
</component>
</module>

1 change: 0 additions & 1 deletion library/.gitignore

This file was deleted.

95 changes: 0 additions & 95 deletions library/library.iml

This file was deleted.

92 changes: 0 additions & 92 deletions library/mylibrary.iml

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':demo', ':library'
include ':demo', ':simple-tag-imageview'
10 changes: 2 additions & 8 deletions library/build.gradle → simple-tag-imageview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
minSdkVersion 8
targetSdkVersion 21
versionCode 1
versionName "1.0"
versionName "1.0.0"
}
buildTypes {
release {
Expand All @@ -33,19 +33,14 @@ install {
pom {
project {
packaging 'aar'

//添加项目描述
name 'SimpleTagImageView for Android'
url siteUrl

//设置开源证书信息
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
//添加开发者信息
developers {
developer {
id 'wujingchao'
Expand All @@ -65,8 +60,7 @@ install {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'

}


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit edd2914

Please sign in to comment.