Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 22
- buildToolsVersion "22.0.1"
- defaultConfig {
- minSdkVersion 14
- targetSdkVersion 22
- versionCode 1
- versionName "1.0"
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- buildTypes {
- release {
- debuggable true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
- }
- }
- lintOptions {
- abortOnError true
- }
- }
- dependencies {
- compile 'com.android.support:appcompat-v7:22.1.1'
- compile 'com.android.support:support-v13:22.1.1'
- compile fileTree(dir: 'libs', include: ['*.jar'])
- }
- apply plugin: 'maven'
- uploadArchives {
- repositories.mavenDeployer {
- configuration = configurations.archives
- repository(url: "http://nexus.wicowyn.fr/content/repositories/android-library/") {
- authentication(userName: 'android-library', password: 'my_password')
- }
- pom.version = "0.0.10"
- pom.artifactId = "library"
- pom.groupId = "wicowyn.android"
- pom.project {
- name 'Android library'
- packaging 'aar'
- description 'It\'s just a grouping of useful things'
- //url 'http://github.com/andresteingress/gcontracts'
- inceptionYear '2014'
- developers {
- developer {
- id 'wicowyn'
- name 'Nicolas Barranger'
- email 'wicowyn@gmail.com'
- url 'https://plus.google.com/+NicolasBarranger'
- roles {
- role 'Developer'
- }
- timezone '+1'
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement