Skip to content

Commit b5a15ba

Browse files
committed
Deploy with jitpack instead for easier deployments
1 parent 3e41c84 commit b5a15ba

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,21 @@ View that shows quick actions when long pressed, inspired by Pinterest
77

88
# Gradle Dependency
99

10-
Easily reference the library in your Android projects using this dependency in your module's `build.gradle` file:
10+
Add this in your root `build.gradle` file (**not** your module `build.gradle` file):
11+
12+
```gradle
13+
allprojects {
14+
repositories {
15+
...
16+
maven { url "https://jitpack.io" }
17+
}
18+
}
19+
```
1120

12-
```Gradle
21+
Then, add the library to your project `build.gradle`
22+
```gradle
1323
dependencies {
14-
compile 'com.ovenbits:quickactionview:1.0.0'
24+
compile 'com.github.ovenbits:QuickActionView:1.0.1'
1525
}
1626
```
1727

build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.1.0'
9-
10-
// Plugin to easily release to Bintray
11-
// https://github.com/novoda/bintray-release
12-
classpath 'com.novoda:bintray-release:0.3.4'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
1310

1411
// NOTE: Do not place your application dependencies here; they belong
1512
// in the individual module build.gradle files

quickactionview/build.gradle

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.novoda.bintray-release'
32

43
android {
54
compileSdkVersion 23
@@ -25,15 +24,7 @@ android {
2524
dependencies {
2625
compile fileTree(dir: 'libs', include: ['*.jar'])
2726
testCompile 'junit:junit:4.12'
28-
compile 'com.android.support:appcompat-v7:23.3.0'
27+
compile 'com.android.support:appcompat-v7:23.4.0'
2928
}
3029

31-
// ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false
32-
publish {
33-
userOrg = 'ovenbits'
34-
groupId = 'com.ovenbits'
35-
artifactId = 'quickactionview'
36-
publishVersion = '1.0.0'
37-
desc = 'View that shows quick actions when long pressed, inspired by Pinterest'
38-
website = 'https://github.com/ovenbits/QuickActionView'
39-
}
30+
apply from: 'https://raw.githubusercontent.com/Commit451/gradle-android-javadocs/1.0.0/gradle-android-javadocs.gradle'

0 commit comments

Comments
 (0)