diff options
author | Victor Häggqvist <[email protected]> | 2015-09-17 03:48:21 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2015-09-17 03:48:21 +0200 |
commit | 1a9d15cd30dae36e2e518a8ee5957d38e79f3d6c (patch) | |
tree | 3a388300bf050c12794fe2174527fa2405063e74 /aboutit-meta/build.gradle | |
parent | ffec10ce5ddc277c07377384a0b5c12fe21072c2 (diff) |
add aboutit-meta presets module
Diffstat (limited to 'aboutit-meta/build.gradle')
-rw-r--r-- | aboutit-meta/build.gradle | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/aboutit-meta/build.gradle b/aboutit-meta/build.gradle new file mode 100644 index 0000000..bb5b23c --- /dev/null +++ b/aboutit-meta/build.gradle @@ -0,0 +1,82 @@ +apply plugin: 'com.android.library' +apply plugin: 'maven' +apply plugin: 'signing' +apply plugin: 'nexus-workflow' + +group = "com.snilius.aboutit" +archivesBaseName = "aboutit-meta" +version = "1.0.0" + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.1" + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 23 + versionCode 1 + versionName version + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + compile 'com.android.support:appcompat-v7:23.0.1' + compile project(':aboutit') +} + + +signing { + sign configurations.archives +} + +uploadArchives { + repositories { + mavenDeployer { + beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } + + repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { + authentication(userName: ossrhUsername, password: ossrhPassword) + } + + pom.project { + name 'AboutIt Meta' + packaging 'jar' + // optionally artifactId can be defined here + description 'Library presets for AboutIt' + url 'https://github.com/victorhaggqvist/AboutIt' + + scm { + connection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' + developerConnection 'scm:git:https://github.com/victorhaggqvist/AboutIt.git' + url 'https://github.com/victorhaggqvist/AboutIt' + } + + licenses { + license { + name 'The Apache License, Version 2.0' + url 'http://www.apache.org/licenses/LICENSE-2.0.txt' + } + } + + developers { + developer { + id 'atriix' + name 'Victor Häggqvist' + email '[email protected]' + } + } + } + } + } +}
\ No newline at end of file |