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
|
plugins {
id 'java'
id 'idea'
id 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
group = 'org.java-websocket'
version = '1.6.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileJava {
options.compilerArgs += ['-encoding', 'UTF-8']
}
javadoc {
options.encoding = 'UTF-8'
}
publishing {
publications {
maven(MavenPublication) {
groupId = project.group
artifactId = 'Java-WebSocket'
version = project.version
from components.java
}
}
}
dependencies {
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.13'
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.13'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
}
|