From b3cccb7a85211d6c0c3664afb5457d704e5708a8 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Thu, 26 Jul 2018 21:30:57 +0200 Subject: update gradle and android plugin --- aboutit-meta/build.gradle | 70 ++++-------------------------------------- aboutit-meta/gradle.properties | 4 +++ 2 files changed, 10 insertions(+), 64 deletions(-) create mode 100644 aboutit-meta/gradle.properties (limited to 'aboutit-meta') diff --git a/aboutit-meta/build.gradle b/aboutit-meta/build.gradle index bb5b23c..a8aab23 100644 --- a/aboutit-meta/build.gradle +++ b/aboutit-meta/build.gradle @@ -1,21 +1,13 @@ 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" + compileSdkVersion 27 + buildToolsVersion "27.0.03" defaultConfig { minSdkVersion 14 - targetSdkVersion 23 + targetSdkVersion 27 versionCode 1 - versionName version } buildTypes { release { @@ -26,57 +18,7 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.0.1' - compile project(':aboutit') -} - - -signing { - sign configurations.archives + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation project(':aboutit') } - -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 'victor@snilius.com' - } - } - } - } - } -} \ No newline at end of file diff --git a/aboutit-meta/gradle.properties b/aboutit-meta/gradle.properties new file mode 100644 index 0000000..8bba6d2 --- /dev/null +++ b/aboutit-meta/gradle.properties @@ -0,0 +1,4 @@ +POM_ARTIFACT_ID=aboutit-meta +POM_NAME=AboutIt Meta +POM_PACKAGING=aar +VERSION_NAME=1.0.0-SNAPSHOT \ No newline at end of file -- cgit v1.2.3