-
-
Notifications
You must be signed in to change notification settings - Fork 332
/
build.gradle
60 lines (50 loc) · 1.75 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
54
55
56
57
58
59
60
buildscript {
ext.kotlin_version = "1.3.72"
ext.mockk_version = rootProject.properties["version"]
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
}
}
apply plugin: 'kotlin'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
repositories {
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib") {
version {
strictly "$kotlin_version"
}
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-common") {
version {
strictly "$kotlin_version"
}
}
implementation("org.jetbrains.kotlin:kotlin-reflect") {
version {
strictly "$kotlin_version"
}
}
testImplementation "io.mockk:mockk:1.10.7-SNAPSHOT"
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version") {
exclude group: "junit", module: "junit"
}
testImplementation 'org.slf4j:slf4j-api:1.7.26'
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
compileOnly "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_jupiter_version"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$junit_jupiter_version"
testImplementation "org.junit.vintage:junit-vintage-engine:$junit_vintage_version"
}