build.gradle with custom repository
Fix missing dependencies from your gradle project (android, maven, etc) with this build.gradle.
insert into YOUR_PROJECT_GRADLE/build.gradle
insert into YOUR_PROJECT_GRADLE/build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url "https://maven.google.com" } jcenter() maven { url "https://jitpack.io" } maven { url "https://dl.bintray.com/android/android-tools" } maven { url "https://plugins.gradle.org/m2/" } maven { url "https://maven.fabric.io/public" } mavenCentral() mavenLocal() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { maven { url "https://maven.google.com" } jcenter() maven { url "https://jitpack.io" } maven { url "https://dl.bintray.com/android/android-tools" } maven { url "https://plugins.gradle.org/m2/" } maven { url "https://maven.fabric.io/public" } mavenCentral() mavenLocal() } }
Kotlin
YOUR_PROJECT_GRADLE/build.gradle.ktsbuildscript { repositories { maven ("https://maven.google.com") jcenter() maven ("https://jitpack.io") maven ("https://dl.bintray.com/android/android-tools") maven ("https://plugins.gradle.org/m2/") maven ("https://maven.fabric.io/public") mavenCentral() mavenLocal() } } allprojects { repositories { maven ("https://maven.google.com") jcenter() maven ("https://jitpack.io") maven ("https://dl.bintray.com/android/android-tools") maven ("https://plugins.gradle.org/m2/") maven ("https://maven.fabric.io/public") mavenCentral() mavenLocal() } }
Comments
Post a Comment
Bila Ada posting yang kurang, atau error atau yang lainnya, silahkan tinggalkan komentar agar artikel/post di perbaiki.
Jangan Lupa Cek Box "Notify Me" agar tahu komentar kamu dibalas oleh saya.
If there are any posts that are missing, or error or anything else, please leave a comment for the article / post to be fixed.
Do not Forget Check Box "Notify Me" to know our comments replied by me.