Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Update readme with maven info
Browse files Browse the repository at this point in the history
Adding info on how to use MavenCentral.

Fixes #3
  • Loading branch information
spacecowboy committed Apr 2, 2014
1 parent 8d64a14 commit 3afc546
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,35 @@ full screen on small screens and as a dialog on large screens. It does
this through the theme system, so it is very important for the
activity to use the correct theme.

** How to include in your project (from MavenCentral)
** How to include in your project (with Gradle)

Coming in a day or so.
Just add the dependency to your /build.gradle/:
#+begin_src groovy
repositories {
mavenCentral()
mavenLocal()
}

** How to include in your project (from source)
#+begin_src sh
cd MyProjectRoot
git clone https://github.com/spacecowboy/NoNonsense-FilePicker.git
echo "include ':NoNonsense-FilePicker:library'" >> settings.gradle
dependencies {
compile 'com.nononsenseapps:filepicker:+'
}
#+end_src

Then in your /build.gradle/ add this line in the dependency section:
That will make sure you are using the latest version at all times.

#+begin_src groovy
compile project(':NoNonsense-FilePicker:library')
** How to include with Maven:
Something like this should work:

#+begin_src xml
<dependency>
<groupId>com.nononsenseapps</groupId>
<artifactId>filepicker</artifactId>
<version>1.1.1-SNAPSHOT</version>
<type>aar</type>
</dependency>
#+end_src

Have a look at the sample app for detailed usage, short instructions
for the included file picker:
** What next?

*** Include permission in your manifest
#+begin_src xml
Expand Down

0 comments on commit 3afc546

Please sign in to comment.