GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - minakov/aar-quickstart: Android ARchive skeleton

BranchesTags
Open more actions menu

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SCELETON.md
SCELETON.md
 
 
build-gh-pages.sh
build-gh-pages.sh
 
 
build.gradle
build.gradle
 
 
clone.sh
clone.sh
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 

Repository files navigation

Android ARchive skeleton

Build any android library project with android gradle for usage with android gradle build system. Publish artifacts on GitHub Pages.

How to use

For example we use SlidingMenu library

Create a github repo

  • Repository name: SlidingMenu-aar
  • Description: SlidingMenu library built with gradle in aar format for usage with android gradle build system

Download sceleton

$ wget --no-check-certificate -O - https://raw.github.com/minakov/aar-quickstart/master/clone.sh | bash
$ mv aar-quickstart SlidingMenu-aar

Cloning library

$ cd SlidingMenu-aar
$ git submodule add https://github.com/jfeinstein10/SlidingMenu.git

Edit build.gradle

android {
    ...
    sourceSets {
        main {
            manifest.srcFile 'SlidingMenu/library/AndroidManifest.xml'
            java.srcDirs = ['SlidingMenu/library/src']
            res.srcDirs = ['SlidingMenu/library/res']
        }
    }
}

dependencies {
    compile 'com.android.support:support-v4:+'
}

group = 'com.jeremyfeinstein.slidingmenu'
version = '1.3'
def artifactId = 'library'

See groupId artifactId and version in pom.xml

Edit README.md

  • {LIBRARY_NAME} SlidingMenu
  • {GITHUB_URL} http://minakov.github.io/SlidingMenu-aar
  • {ARTIFACT_ID} com.jeremyfeinstein.slidingmenu:library:1.3@aar

See groupId artifactId and version in pom.xml

Push your commit

$ git add .
$ git commit -m "init commit"
$ git remote add origin https://github.com/minakov/SlidingMenu-aar.git
$ git push origin master
$ cd ..
$ rm -rf SlidingMenu-aar

Build maven repository

$ git clone https://github.com/minakov/SlidingMenu-aar.git
$ cd SlidingMenu-aar
$ git submodule update --init
$ ./build-gh-pages.sh
$ cd ..
$ rm -rf SlidingMenu-aar

Credits

  • https://github.com/mente/facebook-api-android-aar
  • https://github.com/square/spoon
  • http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html
  • http://jedicoder.blogspot.com/2011/11/automated-gradle-project-deployment-to.html

License

Copyright 2013 Vladimir Minakov

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android ARchive skeleton

Resources

Readme
Apache-2.0 license
Activity

Stars

6 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.