-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (47 loc) · 1.18 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
buildscript {
repositories {
mavenCentral()
maven { url = 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
}
}
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() //Look directly for artifact
}
}
}
dependencies {
compile 'org.pushing-pixels:trident:1.2'
compile 'com.github.kwhat:jnativehook:2.2.0'
compile 'com.apple:AppleJavaExtensions:1.4'
}
shadowJar {
dependencies {
include(dependency('org.pushing-pixels:trident:1.2'))
include(dependency('com.github.kwhat:jnativehook:2.2.0'))
include(dependency('com.apple:AppleJavaExtensions:1.4'))
}
exclude 'dummyThing'
exclude 'LICENSE.txt'
exclude 'LICENSE'
classifier = 'release'
}
jar {
manifest {
attributes(
"Manifest-Version": 1.0,
"Main-Class": "com.ruffian7.sevenclicker.AutoClicker"
)
}
}
build.dependsOn(shadowJar)