mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Migration of the serial library to Gradle (#1106)
* Update build.gradle.kts * Update build.gradle.kts * fix build.gradle.kts * Resolving issue 1099 - Add settings.gradle.kts - Update build.gradle.kts * foojay-resolver-convention updated to latest version * update migration code and revert unnecessary commits
This commit is contained in:
@@ -1 +1,36 @@
|
||||
ant.importBuild("build.xml")
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDirs("src")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":core"))
|
||||
// TODO: https://github.com/java-native/jssc
|
||||
implementation(files("library/jssc.jar"))
|
||||
}
|
||||
|
||||
tasks.register<Copy>("createLibrary") {
|
||||
dependsOn("jar")
|
||||
into(layout.buildDirectory.dir("library"))
|
||||
from(layout.projectDirectory) {
|
||||
include("library.properties")
|
||||
include("examples/**")
|
||||
}
|
||||
from(configurations.runtimeClasspath) {
|
||||
into("library")
|
||||
}
|
||||
from(tasks.jar) {
|
||||
into("library")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user