-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.24 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
plugins {
id 'java'
id 'java-library'
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
id 'maven-publish'
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'com.tiksem.kotlinspirit'
artifactId = 'release'
version = "1.2.7"
from components.java
pom {
name = 'KotlinSpirit'
description = 'Lightweight library for creating parsers using Kotlin'
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/tiksem/KotlinSpirit")
credentials {
username = "tiksem"
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.json:json:20220924'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.json:json:20180813'
testImplementation 'org.skyscreamer:jsonassert:1.5.1'
testRuntimeOnly('org.junit.vintage:junit-vintage-engine:5.9.0')
}
test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}