Closed jmfayard closed 4 years ago
Settings file
// settings.gradle.kts
import static de.fayard.versions.PluginsManagementSetupKt.setupVersionPlaceholdersResolving
buildscript {
dependencies.classpath("de.fayard.refreshVersions:de.fayard.refreshVersions.gradle.plugin:0.8.6")
}
setupVersionPlaceholdersResolving(settings)
Root Build file
// build.gradle
buildscript {
}
plugins {
id("de.fayard.refreshVersions")
}
app/build.gradle
plugins {
id("de.fayard.dependencies") version "0.5.1"
}
# ./gradle.properties
# See https://dev.to/jmfayard/configuring-gradle-with-gradle-properties-211k
org.gradle.caching=true
org.gradle.parallel=true
kotlin.code.style=official
org.gradle.jvmargs=-Xmx1536m
com.android.build.gradle.tasks.factory NoSuchMethodError: org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V
https://scans.gradle.com/s/riualqbnns34a
Could not find method leftShift() for arguments CLOSURE on task ':qrcodereaderview:findConventions' of type org.gradle.api.DefaultTask.
https://gradle.com/s/hsxxm2m5fkq5u
task findConventions << {
println project.getConvention()
}
org.gradle.api.GradleException: androidx.navigation.safeargs can only be used with an androidx project
https://gradle.com/s/mb5injtrvtywi
QRCodeReaderView: PMD violation
https://gradle.com/s/vb6kys6ruc6o4
QRCodeReaderView: unit tests failed
https://gradle.com/s/wqbxt4ah6xoru
Could not find org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.61-dev-withExperimentalGoogleExtensions-20191127.
https://gradle.com/s/lisaz2jmhudt6
cool init script to enable the build scan to all builds https://docs.gradle.com/enterprise/gradle-plugin/#gradle_enterprise
Integrated in https://github.com/jmfayard/refreshVersions/issues/242
I have been trying to upgrade projects to Gradle 6
A procedure that seems reliable:
./gradlew wrapper --gradle-version 5.6.3
build.gradle
: upgrade "com.android.tools.build:gradle:3.5.3"./gradlew tasks
./gradlew assembleDebug
./gradlew wrapper --gradle-version 6.1.1