From d7f4e310dd06511326ddf918c0db29320c06cdd6 Mon Sep 17 00:00:00 2001 From: momo199059 <397079086@qq.com> Date: Mon, 20 Dec 2021 09:59:35 +0800 Subject: [PATCH] version --- gradle/publish.gradle | 27 --------------------------- gradle/versions.gradle | 1 + 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 gradle/publish.gradle diff --git a/gradle/publish.gradle b/gradle/publish.gradle deleted file mode 100644 index 7eccf3a..0000000 --- a/gradle/publish.gradle +++ /dev/null @@ -1,27 +0,0 @@ -apply plugin: 'digital.wup.android-maven-publish' - -task sourcesJar(type: Jar) { - from sourceSets.main.java.srcDirs - classifier = 'sources' - version = versions[ARTIFACT_ID] -} - -task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = 'javadoc' - from javadoc.destinationDir - version = versions[ARTIFACT_ID] -} - -publishing { - publications { - MyPublication(MavenPublication) { - from components.java - artifact sourcesJar - artifact javadocJar - - groupId GROUP_ID - artifactId ARTIFACT_ID - version versions[ARTIFACT_ID] - } - } -} diff --git a/gradle/versions.gradle b/gradle/versions.gradle index 628cdf5..03fee5b 100644 --- a/gradle/versions.gradle +++ b/gradle/versions.gradle @@ -2,6 +2,7 @@ def versions = [:] versions.agp = "4.1.0" versions.kotlin = "1.3.61" versions.java = "8" +versions.Aabresguard = "snapshot-0.0.13" // android versions.compileSdkVersion = 28 versions.minSdkVersion = 15