-2

I want to check my projects dependencies but having problem when running

./gradlew app:dependencies

Here is the result of terminal.

Terminal Result

Thanks for helps.

Emre Aktürk
  • 3,306
  • 2
  • 18
  • 30
  • 2
    Please post the contents of your `build.gradle` file, preferably as text, rather than as a screenshot. – CommonsWare Jul 21 '17 at 13:56
  • You forget to add new repository to build.gradle. See https://developer.android.com/studio/preview/features/new-android-plugin-migration.html – DeKaNszn Jul 21 '17 at 13:58
  • @CommonsWare thanks for suggestions, i tried but had hard times with alignments. Its requires some fixing sometimes when copy & paste. – Emre Aktürk Jul 21 '17 at 14:08

1 Answers1

0

I just needed to add new google repo to root gradle file.

buildscript {
repositories {
    ...
    // You need to add the following repository to download the
    // new plugin.
    google()
}

dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0-alpha5'
}
Emre Aktürk
  • 3,306
  • 2
  • 18
  • 30