Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdks/java-v1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

plugins {
id 'com.vanniktech.maven.publish' version '0.24.0'
id 'com.vanniktech.maven.publish' version '0.34.0'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down Expand Up @@ -42,17 +42,17 @@ if (JavaVersion.current().isJava8Compatible()) {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc
}

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

task fatJar(type: Jar) {
classifier = 'all'
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down
1 change: 0 additions & 1 deletion sdks/java-v1/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ POM_DEVELOPER_ID=dropbox-sign-api-team
POM_DEVELOPER_NAME=Dropbox Sign API Team
POM_DEVELOPER_URL=https://hellosign.com

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 0 additions & 5 deletions sdks/java-v1/templates/gradle-wrapper.properties.mustache
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
{{^useCustomTemplateCode}}
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
{{/useCustomTemplateCode}}
{{#useCustomTemplateCode}}
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
{{/useCustomTemplateCode}}
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
1 change: 0 additions & 1 deletion sdks/java-v1/templates/gradle.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ POM_DEVELOPER_ID={{developerId}}
POM_DEVELOPER_NAME={{developerName}}
POM_DEVELOPER_URL={{developerOrganizationUrl}}

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildscript {

{{#useCustomTemplateCode}}
plugins {
id 'com.vanniktech.maven.publish' version '0.24.0'
id 'com.vanniktech.maven.publish' version '0.34.0'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down Expand Up @@ -136,17 +136,17 @@ if (JavaVersion.current().isJava8Compatible()) {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc
}

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

task fatJar(type: Jar) {
classifier = 'all'
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down
8 changes: 4 additions & 4 deletions sdks/java-v2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

plugins {
id 'com.vanniktech.maven.publish' version '0.24.0'
id 'com.vanniktech.maven.publish' version '0.34.0'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down Expand Up @@ -42,17 +42,17 @@ if (JavaVersion.current().isJava8Compatible()) {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc
}

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

task fatJar(type: Jar) {
classifier = 'all'
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down
1 change: 0 additions & 1 deletion sdks/java-v2/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ POM_DEVELOPER_ID=dropbox-sign-api-team
POM_DEVELOPER_NAME=Dropbox Sign API Team
POM_DEVELOPER_URL=https://hellosign.com

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v2/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
5 changes: 0 additions & 5 deletions sdks/java-v2/templates/gradle-wrapper.properties.mustache
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
{{^useCustomTemplateCode}}
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
{{/useCustomTemplateCode}}
{{#useCustomTemplateCode}}
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
{{/useCustomTemplateCode}}
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
1 change: 0 additions & 1 deletion sdks/java-v2/templates/gradle.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ POM_DEVELOPER_ID={{developerId}}
POM_DEVELOPER_NAME={{developerName}}
POM_DEVELOPER_URL={{developerOrganizationUrl}}

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildscript {

{{#useCustomTemplateCode}}
plugins {
id 'com.vanniktech.maven.publish' version '0.24.0'
id 'com.vanniktech.maven.publish' version '0.34.0'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand Down Expand Up @@ -136,17 +136,17 @@ if (JavaVersion.current().isJava8Compatible()) {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc
}

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

task fatJar(type: Jar) {
classifier = 'all'
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down