forked from weliem/blessed-bluez
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (34 loc) · 854 Bytes
/
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
apply plugin: 'java'
apply plugin: 'maven-publish'
group 'com.github.weliem'
version '0.2-App'
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
mavenCentral()
}
jar {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
manifest {
attributes 'Main-Class': 'testapp.Main'
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'org.jetbrains:annotations:22.0.0'
implementation 'ch.qos.logback:logback-core:1.2.10'
implementation 'ch.qos.logback:logback-classic:1.2.10'
implementation project(':blessed')
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}