File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed
Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 11import com.vanniktech.maven.publish.SonatypeHost
22
33plugins{
4- id(" java" )
5- id(" com.vanniktech.maven.publish" ) version " 0.30.0"
4+ java
5+ application
6+
7+ alias(libs.plugins.mavenPublish)
68}
79
8- group = " org.processing"
10+ application{
11+ mainClass = " processing.mode.java.lsp.PdeLanguageServer"
12+ applicationDefaultJvmArgs = listOf (" -Djna.nosys=true" ," -Djava.awt.headless=true" )
13+ }
914
1015repositories{
1116 mavenCentral()
@@ -24,13 +29,13 @@ sourceSets{
2429
2530dependencies{
2631 implementation(project(" :core" ))
32+ implementation(project(" :app" ))
33+ implementation(project(" :java" ))
2734 implementation(project(" :java:preprocessor" ))
2835
29- implementation(" org.eclipse.lsp4j:org.eclipse.lsp4j:0.22.0" )
30- implementation(" org.jsoup:jsoup:1.17.2" )
31- implementation(" org.eclipse.jdt:org.eclipse.jdt.core:3.40.0" )
32-
33- implementation(" org.processing:core:${version} " )
36+ implementation(libs.lsp4j)
37+ implementation(libs.jsoup)
38+ implementation(libs.eclipseJDT)
3439}
3540
3641mavenPublishing{
@@ -63,4 +68,10 @@ mavenPublishing{
6368 developerConnection.set(" scm:git:ssh://git@github.com/processing/processing4.git" )
6469 }
6570 }
71+ }
72+ tasks.installDist {
73+ duplicatesStrategy = DuplicatesStrategy .INCLUDE
74+ }
75+ tasks.withType<Copy > {
76+ duplicatesStrategy = DuplicatesStrategy .INCLUDE
6677}
Original file line number Diff line number Diff line change 55 " app" ,
66 " java" ,
77 " java:preprocessor" ,
8+ " java:lsp" ,
89 " java:libraries:dxf" ,
910 " java:libraries:io" ,
1011 " java:libraries:net" ,
You can’t perform that action at this time.
0 commit comments