Skip to content

Commit

Permalink
Added bintray things, updated readme and changelog files
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoMoro committed Nov 18, 2016
1 parent a05b1c5 commit 9f5e3ab
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

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

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Changelog
------
#### New from v1.0: <br />
(WIP) <br />
(18/11/2016) <br />
-Initial release <br />
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Download
------
####Gradle:
```groovy
compile @@@@@@@@@
compile 'com.rm:longpresspopup:1.0.0'
```

##Usage
Expand Down Expand Up @@ -48,6 +48,8 @@ public class ActivityMain extends AppCompatActivity {
}
```

<img src="sample_short.gif" title="sample" />

####Advanced
Here are the functions you can use to customize the Popup and it's behaviour from the
LongPressPopupBuilder class: <br />
Expand Down Expand Up @@ -90,7 +92,7 @@ LongPressPopupBuilder class: <br />
* ```public LongPressPopupBuilder setAnimationType(@LongPressPopup.AnimationType int animationType)``` <b>(none by default)</b> <br />
This method set the opening and closing animation for the popup, can be none or from-to Bottom, Top, Right, Left, Center

<br />
<br /><br />

Also, the LongPressPopup class gives some utility method, like <br />
* register() <br />
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
30 changes: 26 additions & 4 deletions longpresspopup/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
apply plugin: 'com.android.library'

ext {
bintrayRepo = 'maven'
bintrayName = 'longpresspopup'

publishedGroupId = 'com.rm'
libraryName = 'longpresspopup'
artifact = 'longpresspopup'

libraryDescription = 'Make a Popup appear long pressing on a view and handle touch events on its elements'

siteUrl = 'https://github.com/RiccardoMoro/LongPressPopup'
gitUrl = 'https://github.com/RiccardoMoro/LongPressPopup.git'

libraryVersion = '1.0.0'

developerId = 'RiccardoMoro'
developerName = 'Riccardo Moro'
developerEmail = 'riccardomoro.rm@gmail.com'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
Expand All @@ -9,9 +33,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -26,5 +47,6 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:design:25.0.1'
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
6 changes: 1 addition & 5 deletions longpresspopup/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@

<application android:allowBackup="true"
android:label="@string/app_name"
android:supportsRtl="true"
>

</application>

android:supportsRtl="true" />
</manifest>
Binary file removed sample_1.png
Binary file not shown.
Binary file removed sample_2.png
Binary file not shown.
Binary file removed sample_3.png
Binary file not shown.

0 comments on commit 9f5e3ab

Please sign in to comment.