Skip to content

Update alternative-root-project to remove java formatting. #2777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2021
Merged
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
20 changes: 7 additions & 13 deletions alternative-root-project.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.4.3'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.14'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:1.2.1'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.8'
classpath 'com.google.gms:google-services:4.3.0'
classpath 'digital.wup:android-maven-publish:3.6.2'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:1.3.0'
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.9'
classpath 'com.google.gms:google-services:4.3.3'
classpath 'digital.wup:android-maven-publish:3.6.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'org.jlleitschuh.gradle:ktlint-gradle:7.1.0'
classpath 'org.jlleitschuh.gradle:ktlint-gradle:9.2.1'
}
}

apply from: 'sdkProperties.gradle'

ext {
playServicesVersion = '16.0.1'
supportAnnotationsVersion = '28.0.0'
Expand All @@ -55,12 +57,4 @@ ext {

apply from: 'build.gradle'

configure(subprojects) {
afterEvaluate {
tasks.verifyGoogleJavaFormat {
exclude '**/build/classes/**'
}
}
}

apply plugin: MultiProjectReleasePlugin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try to just apply this plugin to the main build file? it looks like it's the only difference from build.gradle