forked from clover/clover-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild2.gradle
More file actions
25 lines (23 loc) · 777 Bytes
/
build2.gradle
File metadata and controls
25 lines (23 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
buildscript {
if (!project.hasProperty('androidBuild') || project.androidBuild.isEmpty()) {
def likelyAndroidBuild = file("$rootDir/../android-build")
if (likelyAndroidBuild.exists()) {
ext.androidBuild = likelyAndroidBuild.absolutePath
} else {
// Set to current directory if android-build doesn't exist
ext.androidBuild = project.rootDir.absolutePath
println "Warning: android-build not found, using project root directory"
}
}
repositories {
mavenLocal()
mavenCentral()
google()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.21"
}
}