-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle.kts
56 lines (44 loc) · 1.37 KB
/
build.gradle.kts
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
// https://github.com/komputing/kethabi/issues/6
val kethereumVersion = "0.84.2"
apply {
from("https://raw.githubusercontent.com/ligi/gradle-common/master/versions_plugin_stable_only.gradle")
}
buildscript {
repositories {
maven("https://jitpack.io")
}
dependencies {
classpath("com.github.ben-manes:gradle-versions-plugin:0.39.0")
}
}
repositories {
mavenCentral()
maven("https://www.jitpack.io")
}
plugins {
id("org.jetbrains.kotlin.jvm") version "1.5.20"
id("maven-publish")
}
tasks.withType<Test> {
useJUnitPlatform()
}
configure<PublishingExtension> {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
dependencies {
implementation(gradleApi())
implementation(localGroovy())
implementation("com.squareup:kotlinpoet:1.9.0")
implementation("com.squareup.moshi:moshi-kotlin:1.12.0")
implementation("com.github.komputing.kethereum:abi:$kethereumVersion")
implementation("com.github.komputing.kethereum:abi_codegen:$kethereumVersion")
testImplementation("org.assertj:assertj-core:3.20.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.2")
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("io.mockk:mockk:1.11.0")
}