FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Migration of the `serial` library to Gradle by madhav2348 · Pull Request #1106 · processing/processing4 · GitHub

37 changes: 36 additions & 1 deletion java/libraries/serial/build.gradle.kts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -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
Comment thread
madhav2348 marked this conversation as resolved.
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")
}
}
Loading

Back | FazBrowse Home | New Git URL