Skip to content

Commit

Permalink
Merge branch 'hotfix/2.5.4' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
DharmeshBasapatiBacancy committed Sep 25, 2023
2 parents e2232cb + b237703 commit 09eecb6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP_ID=com.virtusize.android
# Update VERSION_NAME when publishing a new release
VERSION_NAME=2.5.3
VERSION_NAME=2.5.4

POM_URL=https://github.com/virtusize/integration_android

Expand Down
40 changes: 20 additions & 20 deletions gradle/deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

task androidSourcesJar(type: Jar) {
archiveClassifier.set('sources')
//archiveClassifier.set('sources')
from android.sourceSets.main.java.srcDirs
}

task androidJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
excludes = ['**/*.kt'] // Exclude all kotlin files from javadoc file.
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
archiveClassifier.set('javadoc')
from androidJavadocs.destinationDir
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}
//task androidJavadocs(type: Javadoc) {
// source = android.sourceSets.main.java.srcDirs
// excludes = ['**/*.kt'] // Exclude all kotlin files from javadoc file.
// classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
//}
//
//task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
// archiveClassifier.set('javadoc')
// from androidJavadocs.destinationDir
//}
//
//artifacts {
// archives androidSourcesJar
// archives androidJavadocsJar
//}

// Because the components are created only during the afterEvaluate phase, you must
// configure your publications using the afterEvaluate() lifecycle method.
Expand All @@ -32,15 +32,15 @@ afterEvaluate {
// Applies the component for the release build variant.
from components.release

// Adds Javadocs and Sources as separate jars.
artifact androidSourcesJar
//artifact androidJavadocsJar

// You can then customize attributes of the publication as shown below.
groupId = rootProject.group
artifactId = project.artifactId
version = rootProject.version

// Adds Javadocs and Sources as separate jars.
artifact androidSourcesJar
artifact androidJavadocsJar

pom {
name = project.artifactName
packaging = 'aar'
Expand Down

0 comments on commit 09eecb6

Please sign in to comment.