Leonid Startsev | 21dea85 | 2021-05-18 18:36:19 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| 3 | */ |
| 4 | |
Vsevolod Tolstopyatov | e593b42 | 2018-06-28 11:23:49 +0300 | [diff] [blame] | 5 | apply plugin: 'java' |
| 6 | apply plugin: 'kotlin' |
| 7 | apply plugin: 'kotlinx-serialization' |
| 8 | apply plugin: 'idea' |
Sebastian Schuberth | ece9fdd | 2022-01-28 16:23:48 +0100 | [diff] [blame] | 9 | apply plugin: 'net.ltgt.apt' |
| 10 | apply plugin: 'com.github.johnrengelman.shadow' |
| 11 | apply plugin: 'me.champeau.gradle.jmh' |
Vsevolod Tolstopyatov | e593b42 | 2018-06-28 11:23:49 +0300 | [diff] [blame] | 12 | |
| 13 | sourceCompatibility = 1.8 |
| 14 | targetCompatibility = 1.8 |
Vsevolod Tolstopyatov | f28e005 | 2021-02-12 05:41:01 -0800 | [diff] [blame] | 15 | jmh.jmhVersion = 1.22 |
Vsevolod Tolstopyatov | e593b42 | 2018-06-28 11:23:49 +0300 | [diff] [blame] | 16 | |
| 17 | jmhJar { |
| 18 | baseName 'benchmarks' |
| 19 | classifier = null |
| 20 | version = null |
Vsevolod Tolstopyatov | f28e005 | 2021-02-12 05:41:01 -0800 | [diff] [blame] | 21 | destinationDir = file("$rootDir") |
Vsevolod Tolstopyatov | e593b42 | 2018-06-28 11:23:49 +0300 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | dependencies { |
Sebastian Schuberth | ece9fdd | 2022-01-28 16:23:48 +0100 | [diff] [blame] | 25 | implementation 'org.openjdk.jmh:jmh-core:1.22' |
Leonid Startsev | f18d398 | 2019-08-29 13:43:54 +0300 | [diff] [blame] | 26 | implementation 'com.google.guava:guava:24.1.1-jre' |
Sebastian Schuberth | ece9fdd | 2022-01-28 16:23:48 +0100 | [diff] [blame] | 27 | implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.1' |
| 28 | implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.12.1' |
| 29 | implementation project(':kotlinx-serialization-core') |
| 30 | implementation project(':kotlinx-serialization-json') |
| 31 | implementation project(':kotlinx-serialization-protobuf') |
Vsevolod Tolstopyatov | e593b42 | 2018-06-28 11:23:49 +0300 | [diff] [blame] | 32 | } |