blob: 12b502bef782d7f113f8c20808bf1b56013d8358 (
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
|
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:1.3.40")
compile("org.cadixdev:lorenz:0.5.0")
}
tasks.named<Jar>("jar") {
archiveBaseName.set("remap")
}
publishing {
publications {
create("maven", MavenPublication::class) {
from(components["java"])
}
}
}
|