We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d97d7cb commit fb5153fCopy full SHA for fb5153f
utils/socket-utils/build.gradle
@@ -5,6 +5,12 @@ ext {
5
apply from: "$rootDir/gradle/java.gradle"
6
apply plugin: "idea"
7
8
+sourceSets {
9
+ main_java17 {
10
+ java.srcDirs "${project.projectDir}/src/main/java17"
11
+ }
12
+}
13
+
14
[compileMain_java17Java, compileTestJava].each {
15
it.configure {
16
setJavaVersion(it, 17)
@@ -14,9 +20,16 @@ apply plugin: "idea"
20
}
21
22
dependencies {
23
+ compileOnly sourceSets.main_java17.output
24
17
25
implementation libs.slf4j
18
26
implementation project(':internal-api')
19
- implementation libs.jnr.unixsocket
27
28
+ implementation group: 'com.github.jnr', name: 'jnr-unixsocket', version: libs.versions.jnr.unixsocket.get()
29
30
31
+jar {
32
+ from sourceSets.main_java17.output
33
34
35
forbiddenApisMain_java17 {
0 commit comments