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.
serial
1 parent 21dba29 commit f36e5b2Copy full SHA for f36e5b2
java/libraries/serial/build.gradle.kts
@@ -1 +1,36 @@
1
-ant.importBuild("build.xml")
+plugins {
2
+ java
3
+}
4
+
5
+sourceSets {
6
+ main {
7
+ java {
8
+ srcDirs("src")
9
+ }
10
11
12
13
+repositories {
14
+ mavenCentral()
15
16
17
+dependencies {
18
+ compileOnly(project(":core"))
19
+ // TODO: https://github.com/java-native/jssc
20
+ implementation(files("library/jssc.jar"))
21
22
23
+tasks.register<Copy>("createLibrary") {
24
+ dependsOn("jar")
25
+ into(layout.buildDirectory.dir("library"))
26
+ from(layout.projectDirectory) {
27
+ include("library.properties")
28
+ include("examples/**")
29
30
+ from(configurations.runtimeClasspath) {
31
+ into("library")
32
33
+ from(tasks.jar) {
34
35
36
0 commit comments