-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
90 lines (82 loc) · 2.85 KB
/
build.gradle
File metadata and controls
90 lines (82 loc) · 2.85 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
ext {
kotlinVersion="1.8.10"
coroutineVersion="1.6.4"
ktxVersion="1.11.0-rc1"
jacksonVersion="2.14.2"
junitVersion="5.9.2"
slf4jVersion="2.0.6"
semver4jVersion="3.1.0"
log4jVersion="2.20.0"
gdxVersion="1.11.0"
mavenResolverVersion="1.9.5"
mockitoKotlinVersion="4.1.0"
eclipseCollectionsVersion="11.1.0"
fledUtilsVersion="0.1.9-SNAPSHOT"
fledEcsVersion="0.1.9-SNAPSHOT"
fledObjectUpdaterVersion="0.1.9-SNAPSHOT"
}
repositories {
mavenLocal()
mavenCentral()
google()
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
apply plugin: 'java-library'
apply plugin: 'java-test-fixtures'
apply plugin: 'kotlin'
apply plugin: 'idea'
compileJava {
options.incremental = true
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' }
maven { url "https://s01.oss.sonatype.org/content/repositories/releases/" }
maven { url 'https://jitpack.io' }
}
}
subprojects {
version = new File('version.txt').text
ext.appName = 'fleddefs'
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
implementation "org.slf4j:slf4j-api:$slf4jVersion"
testRuntimeOnly "org.apache.logging.log4j:log4j-slf4j2-impl:$log4jVersion"
testRuntimeOnly "org.apache.logging.log4j:log4j-api:$log4jVersion"
testRuntimeOnly "org.apache.logging.log4j:log4j-core:$log4jVersion"
testFixturesImplementation "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
testFixturesImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
testFixturesImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
test {
useJUnitPlatform()
testLogging {
showStandardStreams = true
}
minHeapSize = "512m"
maxHeapSize = "2048m"
}
tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}
}