diff --git a/app-dialog/build.gradle b/app-dialog/build.gradle index b838768..679fc7a 100644 --- a/app-dialog/build.gradle +++ b/app-dialog/build.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 { @@ -45,3 +46,4 @@ dependencies { + diff --git a/app-dialog/gradle.properties b/app-dialog/gradle.properties new file mode 100644 index 0000000..a022555 --- /dev/null +++ b/app-dialog/gradle.properties @@ -0,0 +1,3 @@ +POM_NAME=App Dialog +POM_ARTIFACT_ID=app-dialog +POM_PACKAGING=aar \ No newline at end of file diff --git a/app-updater/build.gradle b/app-updater/build.gradle index 82b52fa..a9d08be 100644 --- a/app-updater/build.gradle +++ b/app-updater/build.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 { diff --git a/app-updater/gradle.properties b/app-updater/gradle.properties new file mode 100644 index 0000000..6194701 --- /dev/null +++ b/app-updater/gradle.properties @@ -0,0 +1,3 @@ +POM_NAME=App Updater +POM_ARTIFACT_ID=app-updater +POM_PACKAGING=aar \ No newline at end of file diff --git a/build.gradle b/build.gradle index e25b4ee..f906ceb 100644 --- a/build.gradle +++ b/build.gradle @@ -6,12 +6,16 @@ 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 } + + } allprojects { diff --git a/gradle.properties b/gradle.properties index 743d692..33a5ab2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,3 +11,23 @@ org.gradle.jvmargs=-Xmx1536m # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true + + +VERSION_NAME=1.0.10 +VERSION_CODE=17 +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 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 46f9ecd..866856d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/versions.gradle b/versions.gradle index 3326a41..be6d4a3 100644 --- a/versions.gradle +++ b/versions.gradle @@ -50,6 +50,7 @@ ext.deps = deps def addRepos(RepositoryHandler handler) { handler.google() + handler.mavenCentral() handler.jcenter() } ext.addRepos = this.&addRepos \ No newline at end of file