Skip to content

Commit

Permalink
Working on gradle for publishing. Bump version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-gasparini committed Mar 17, 2020
1 parent 33c23b2 commit 4ea55d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wordpressclient/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0.2"
versionName "1.0.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down Expand Up @@ -42,19 +42,19 @@ dependencies {

task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
archiveClassifier.set 'sources'
}

task javadoc(type: Javadoc) {
failOnError false
failOnError false
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
classpath += configurations.compile
}

// build a jar with javadoc
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier.set 'javadoc'
from javadoc.destinationDir
}

Expand All @@ -81,7 +81,7 @@ publishing {
}
groupId 'io.dualbit.wordpressclient'
artifactId 'wordpressclient'
version '1.0.2'
version '1.0.3'
pom.withXml {
def root = asNode()
root.appendNode('name', 'Android WordPress Client')
Expand Down

0 comments on commit 4ea55d5

Please sign in to comment.