Skip to content

Commit

Permalink
Bump gradle from 4.2.2 to 7.0.0 (#4066)
Browse files Browse the repository at this point in the history
* Bump gradle from 4.2.2 to 7.0.0

Bumps gradle from 4.2.2 to 7.0.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove javadocs

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michelle Brubaker <[email protected]>
  • Loading branch information
dependabot[bot] and michelleb-stripe authored Aug 13, 2021
1 parent 4ad802e commit c721bc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
classpath "org.jetbrains.kotlinx:binary-compatibility-validator:0.6.0"
Expand Down
14 changes: 0 additions & 14 deletions deploy/deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ def getRepositoryPassword() {
return findProperty('NEXUS_PASSWORD') ?: ""
}

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

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

task androidSourcesJar(type: Jar) {
archiveClassifier.set('sources')
from android.sourceSets.main.java.srcDirs
Expand All @@ -45,7 +33,6 @@ afterEvaluate { project ->
// Creates a Maven publication called "release".
release(MavenPublication) {
// Adds Javadocs and Sources as separate jars.
artifact androidJavadocsJar
artifact androidSourcesJar
artifact bundleReleaseAar

Expand Down Expand Up @@ -129,6 +116,5 @@ afterEvaluate { project ->

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}
}
1 change: 0 additions & 1 deletion paymentsheet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ assemble.dependsOn('lint')
check.dependsOn('checkstyle')

configurations {
javadocDeps
ktlint
}

Expand Down

0 comments on commit c721bc1

Please sign in to comment.