-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (42 loc) · 1.12 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
buildscript {
repositories {
mavenCentral()
maven { url = 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.2'
}
}
apply plugin: "java"
apply plugin: 'com.github.johnrengelman.shadow'
group = project_Group
version = project_Version
repositories {
mavenCentral()
maven {
url 'https://repo1.maven.org/maven2/'
metadataSources.artifact()
}
}
dependencies {
implementation 'org.pushing-pixels:radiance-animation:6.5.0'
implementation 'com.github.kwhat:jnativehook:2.2.2'
implementation 'com.apple:AppleJavaExtensions:1.4'
implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
}
shadowJar {
archiveFileName.set("Gabao Clicker ${project.version}.jar")
}
jar {
manifest {
attributes(
"Manifest-Version": 1.0,
"Main-Class": "me.thiagogebrim.gabaoclicker.AutoClicker"
)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
shadowJar.dependsOn