blob: de0684b71549ca1fde537366c6f654d560a63a4d (
plain)
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
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.40"
`maven-publish`
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
}
group = "com.github.replaymod"
version = "SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
compile("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.40")
implementation(kotlin("stdlib"))
compile("org.cadixdev:lorenz:0.5.0")
}
tasks.named<Jar>("jar") {
archiveBaseName.set("remap")
}
publishing {
publications {
create("maven", MavenPublication::class) {
from(components["java"])
}
}
}
|