| /* |
| * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| */ |
| |
| repositories { |
| google() |
| } |
| |
| dependencies { |
| compileOnly 'com.google.android:android:4.1.1.4' |
| compileOnly 'com.android.support:support-annotations:26.1.0' |
| |
| testImplementation 'com.google.android:android:4.1.1.4' |
| testImplementation 'org.robolectric:robolectric:4.0-alpha-3' |
| } |
| |
| tasks.withType(dokka.getClass()) { |
| externalDocumentationLink { |
| url = new URL("https://developer.android.com/reference/") |
| packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL() |
| } |
| } |