aboutsummaryrefslogtreecommitdiff
path: root/aboutit-meta
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2018-07-26 21:30:57 +0200
committerVictor Häggqvist <[email protected]>2018-07-26 21:30:57 +0200
commitb3cccb7a85211d6c0c3664afb5457d704e5708a8 (patch)
treef5a8637b61bdfa4335e1bf276fbad040ddcca353 /aboutit-meta
parent2cc8561e3556892a7b13c6960acbe2a55f1f82ac (diff)
update gradle and android plugin
Diffstat (limited to 'aboutit-meta')
-rw-r--r--aboutit-meta/build.gradle70
-rw-r--r--aboutit-meta/gradle.properties4
2 files changed, 10 insertions, 64 deletions
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'
- }
- }
- }
- }
- }
-} \ 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