-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (60 loc) · 1.45 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
61
62
63
64
65
66
67
68
69
70
71
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlinLangVersion = '1.6'
ext.junitVersion = '4.13'
ext.licensePluginVersion = '0.15.0'
ext.jmhPlugin = '0.5.3'
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'com.github.hierynomus.license' version "$licensePluginVersion"
id "me.champeau.gradle.jmh" version "$jmhPlugin"
}
wrapper {
gradleVersion = '6.9.1'
}
group 'com.github.penemue'
version '0.0.1-SNAPSHOT'
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: "$junitVersion"
}
test {
testLogging {
showStandardStreams true
events "failed"
exceptionFormat "short"
}
}
jmh {
jmhVersion = '1.21'
jvmArgsPrepend = ['-Xmx1g', '-Xms1g']
duplicateClassesStrategy = 'warn'
forceGC = true
}
license {
header rootProject.file('copyright.ftl')
strictCheck true
ext.inceptionYear = 2016
ext.year = Calendar.getInstance().get(Calendar.YEAR)
ext.owner = 'Vyacheslav Lukianov'
ext.ownerURL = 'https://github.com/penemue'
include '**/*.kt'
include "**/*.java"
mapping {
kt = 'JAVADOC_STYLE'
}
}
defaultTasks 'clean', 'build'