-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
53 lines (47 loc) · 1.42 KB
/
build.gradle
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
buildscript {
ext {
kotlin_version = '1.5.31'
kethereum_version = '0.85.3'
coroutines_version = '1.5.2'
wire_version = '3.7.0'
bc_version = '1.69'
khex_version = '1.1.2'
appcompat_version = '1.3.1'
lifecycle_version = '2.3.1'
}
repositories {
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
gradlePluginPortal()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath "com.squareup.wire:wire-gradle-plugin:$wire_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.39.0'
}
}
allprojects {
repositories {
maven { url 'https://jitpack.io' }
google()
mavenCentral()
maven { url 'https://plugins.gradle.org/m2/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: 'https://raw.githubusercontent.com/ligi/gradle-common/master/versions_plugin_stable_only.gradle'
subprojects { project ->
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}
tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}