43 lines
889 B
Groovy
43 lines
889 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id "com.github.johnrengelman.shadow" version "7.1.2"
|
|
id 'maven-publish'
|
|
}
|
|
|
|
group 'dev.ubujira.ps3d'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
sourceCompatibility = '17'
|
|
targetCompatibility = '17'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
application {
|
|
mainModule = 'dev.ubujira.ps3d.authobtainer'
|
|
mainClass = 'dev.ubujira.ps3d.authobtainer.AuthObtainer'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.pcap4j:pcap4j:2.0.0-alpha.6'
|
|
implementation 'org.pcap4j:pcap4j-core:2.0.0-alpha.6'
|
|
implementation 'org.pcap4j:pcap4j-packetfactory-static:2.0.0-alpha.6'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = 'dev.ubujira.ps3d'
|
|
artifactId = 'AuthObtainer'
|
|
version = '1.1'
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
} |