-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
39 lines (34 loc) · 1007 Bytes
/
build.gradle.kts
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath(Dependencies.Gradle.gradle)
classpath(Dependencies.Gradle.gradlePlugin)
}
}
allprojects {
repositories {
mavenCentral()
gradlePluginPortal()
google()
maven("https://www.jitpack.io")
maven("https://repo.spring.io/ui/native/plugins-release/")
mavenLocal()
maven {
url = uri("https://maven.pkg.github.com/trustwallet/wallet-core")
credentials {
username = project.findProperty("gpr.user") as String ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String ?: System.getenv("TOKEN")
}
}
}
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}