forked from lucid-plugins/SideloadPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (40 loc) · 1.11 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("java")
id("com.github.johnrengelman.shadow") version "7.0.0"
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.runelite.net")
}
gradlePluginPortal()
mavenCentral()
}
val runeLiteVersion = "latest.release"
dependencies {
compileOnly(group = "com.example", name = "example", version = "5.4")
compileOnly("org.projectlombok:lombok:1.18.20")
compileOnly("net.runelite:client:$runeLiteVersion")
compileOnly("org.pf4j:pf4j:3.6.0")
annotationProcessor("org.projectlombok:lombok:1.18.20")
testImplementation("junit:junit:4.13.1")
}
group = "com.lucidplugins"
version = "6.1.0"
val javaMajorVersion = JavaVersion.VERSION_11.majorVersion
tasks {
withType<JavaCompile> {
options.encoding = "UTF-8"
sourceCompatibility = javaMajorVersion
targetCompatibility = javaMajorVersion
}
withType<Jar> {
manifest {
}
}
withType<ShadowJar> {
baseName = "LucidPlugins"
exclude("com/lucidplugins/lucidhotkeys2")
}
}