maven publish

pull/27/head
Jenly 4 years ago
parent d2874564d7
commit 372b1ad30f
  1. 3
      app-dialog/build.gradle
  2. 3
      app-dialog/gradle.properties
  3. 3
      app-updater/build.gradle
  4. 3
      app-updater/gradle.properties
  5. 4
      build.gradle
  6. 24
      gradle.properties
  7. 2
      gradle/wrapper/gradle-wrapper.properties
  8. 1
      versions.gradle

@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply from: 'bintray.gradle'
//apply from: 'bintray.gradle'
apply plugin: "com.vanniktech.maven.publish"
android {

@ -0,0 +1,3 @@
POM_NAME=App Dialog
POM_ARTIFACT_ID=app-dialog
POM_PACKAGING=aar

@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply from: 'bintray.gradle'
//apply from: 'bintray.gradle'
apply plugin: "com.vanniktech.maven.publish"
android {

@ -0,0 +1,3 @@
POM_NAME=App Updater
POM_ARTIFACT_ID=app-updater
POM_PACKAGING=aar

@ -6,9 +6,11 @@ buildscript {
addRepos(repositories)
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.novoda:bintray-release:0.9'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.13.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

@ -12,4 +12,26 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true
android.enableJetifier=true
VERSION_NAME=1.0.10-androidx
VERSION_CODE=18
GROUP=com.github.jenly1314.AppUpdater
POM_DESCRIPTION=AppUpdater for Android
POM_URL=https://github.com/jenly1314/AppUpdater
POM_SCM_URL=https://github.com/jenly1314/AppUpdater
POM_SCM_CONNECTION=scm:git@github.com:jenly1314/AppUpdater.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:jenly1314/AppUpdater.git
POM_LICENCE_NAME=The MIT License
POM_LICENCE_URL=https://opensource.org/licenses/mit-license.php
#POM_LICENCE_NAME=The Apache Software License, Version 2.0
#POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_DEVELOPER_ID=jenly
POM_DEVELOPER_NAME=Jenly Yu
RELEASE_REPOSITORY_URL=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
SNAPSHOT_REPOSITORY_URL=https://s01.oss.sonatype.org/content/repositories/snapshots/
RELEASE_SIGNING_ENABLED=true

@ -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-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip

@ -51,6 +51,7 @@ ext.deps = deps
def addRepos(RepositoryHandler handler) {
handler.google()
handler.mavenCentral()
handler.jcenter()
}
ext.addRepos = this.&addRepos
Loading…
Cancel
Save