Skip to content

Commit

Permalink
add maven publish config for MavenCentral
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ganster committed Apr 28, 2021
1 parent 4774212 commit 92c6380
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
9 changes: 5 additions & 4 deletions additive_animations/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 David Ganster
* Copyright 2021 David Ganster
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -15,16 +15,17 @@
*/

apply plugin: 'com.android.library'
apply plugin: "com.vanniktech.maven.publish"

android {
compileSdkVersion 30
buildToolsVersion '30.0.0'
buildToolsVersion '30.0.3'

defaultConfig {
minSdkVersion 14
targetSdkVersion 30
versionCode 25
versionName "1.9.0"
versionCode 26
versionName "1.9.1"
}
buildTypes {
release {
Expand Down
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ buildscript {
// javadocDeps
}
dependencies {
// javadocDeps 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

plugins {
id "com.jfrog.bintray" version "1.7.3"
// publishing to mavenCentral:
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.0'
}
}

allprojects {
Expand Down
7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.9.0
VERSION_CODE=25
VERSION_NAME=1.9.1
VERSION_CODE=26
GROUP=at.wirecube

POM_DESCRIPTION=Additive animations for Android, along with many convenience methods for clean animation code.
Expand All @@ -13,5 +13,8 @@ POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=davidganster
POM_DEVELOPER_NAME=David Ganster

RELEASE_SIGNING_ENABLED=false

android.useAndroidX=true
android.enableJetifier=false
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip

0 comments on commit 92c6380

Please sign in to comment.