Open CorrectRoadH opened 1 year ago
example:
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { apply from: 'versions.gradle' ext { versions.kotlin = '1.5.10' } ext.kotlin_version = "1.5.10" repositories { google() mavenCentral() } dependencies { classpath "com.android.tools.build:gradle:${versions.android_gradle_plugin}" classpath deps.kotlin.plugin classpath 'com.google.gms:google-services:4.3.8' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.0' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5" } } allprojects { ext { isIdeBuild = project.properties['android.injected.invoked.from.ide'] == 'true' } repositories { google() mavenCentral() } } task clean(type: Delete) { delete rootProject.buildDir }
"com.android.tools.build:gradle:${versions.android_gradle_plugin}" convert to named com.android.tools.build:gradle:${versions.android_gradle_plugin} and version is `. instead ofcom.android.tools.build:gradleand${versions.android_gradle_plugin}`
com.android.tools.build:gradle:${versions.android_gradle_plugin}
`. instead of
and
example:
"com.android.tools.build:gradle:${versions.android_gradle_plugin}" convert to named
com.android.tools.build:gradle:${versions.android_gradle_plugin}
and version is`. instead of
com.android.tools.build:gradleand
${versions.android_gradle_plugin}`