mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 18:01:07 +01:00
LSP gradle build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
group = "org.processing"
|
||||
version = "4.4.0"
|
||||
version = "4.3.2"
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version libs.versions.kotlin apply false
|
||||
@@ -7,5 +7,4 @@ plugins {
|
||||
|
||||
alias(libs.plugins.compose.compiler) apply false
|
||||
alias(libs.plugins.jetbrainsCompose) apply false
|
||||
|
||||
}
|
||||
@@ -67,4 +67,7 @@ mavenPublishing{
|
||||
|
||||
tasks.test {
|
||||
useJUnit()
|
||||
}
|
||||
tasks.withType<Jar> {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
66
java/lsp/build.gradle.kts
Normal file
66
java/lsp/build.gradle.kts
Normal file
@@ -0,0 +1,66 @@
|
||||
import com.vanniktech.maven.publish.SonatypeHost
|
||||
|
||||
plugins{
|
||||
id("java")
|
||||
id("com.vanniktech.maven.publish") version "0.30.0"
|
||||
}
|
||||
|
||||
group = "org.processing"
|
||||
version = "4.3.1"
|
||||
|
||||
repositories{
|
||||
mavenCentral()
|
||||
google()
|
||||
maven { url = uri("https://jogamp.org/deployment/maven") }
|
||||
}
|
||||
|
||||
sourceSets{
|
||||
main{
|
||||
java{
|
||||
srcDirs("../src/")
|
||||
include("processing/mode/java/lsp/**/*")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies{
|
||||
implementation(project(":core"))
|
||||
|
||||
implementation("org.eclipse.lsp4j:org.eclipse.lsp4j:0.22.0")
|
||||
implementation("org.jsoup:jsoup:1.17.2")
|
||||
implementation("org.eclipse.jdt:org.eclipse.jdt.core:3.40.0")
|
||||
|
||||
implementation("org.processing:core:${version}")
|
||||
}
|
||||
|
||||
mavenPublishing{
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||
signAllPublications()
|
||||
|
||||
pom{
|
||||
name.set("Processing Language Server")
|
||||
description.set("Processing Language Server")
|
||||
url.set("https://processing.org")
|
||||
licenses {
|
||||
license {
|
||||
name.set("LGPL")
|
||||
url.set("https://www.gnu.org/licenses/lgpl-2.1.html")
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id.set("steftervelde")
|
||||
name.set("Stef Tervelde")
|
||||
}
|
||||
developer {
|
||||
id.set("benfry")
|
||||
name.set("Ben Fry")
|
||||
}
|
||||
}
|
||||
scm{
|
||||
url.set("https://github.com/processing/processing4")
|
||||
connection.set("scm:git:git://github.com/processing/processing4.git")
|
||||
developerConnection.set("scm:git:ssh://git@github.com/processing/processing4.git")
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,8 @@ include(
|
||||
"core:different",
|
||||
"app",
|
||||
"java",
|
||||
"java:preprocessor"
|
||||
"java:preprocessor",
|
||||
"java:lsp"
|
||||
)
|
||||
|
||||
buildscript {
|
||||
|
||||
Reference in New Issue
Block a user