aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEVELOPING.md2
-rw-r--r--build.gradle28
-rw-r--r--notes_to_tone.wavbin262188 -> 2170924 bytes
-rw-r--r--settings.gradle2
4 files changed, 14 insertions, 18 deletions
diff --git a/DEVELOPING.md b/DEVELOPING.md
index 804a28b..a59f7fb 100644
--- a/DEVELOPING.md
+++ b/DEVELOPING.md
@@ -25,7 +25,7 @@ With the new inclusion of Gradle replacing ant (bye bye 2014) this brings some m
This allows you to use JSyn as a maven/gradle repository on your machine.
```
-./gradlew publishToMavenLocal
+./gradlew install
```
It can be used via
diff --git a/build.gradle b/build.gradle
index 32bf228..0703a89 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'application'
- id 'maven-publish'
+ id 'maven'
}
group = 'com.jsyn'
@@ -21,30 +21,18 @@ dependencies {
// I'm unsure weather or not to keep the logging implementation here and not as a 'testImplementation', as libraries
// aren't usually meant to be ran.
- implementation 'org.slf4j:slf4j-log4j12:1.7.25'
+// implementation 'org.slf4j:slf4j-log4j12:1.7.25'
implementation fileTree(dir: 'libs', include: '*.jar')
}
-publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.java
- }
- }
-
- repositories {
- mavenLocal()
- }
-}
-
jar {
manifest {
attributes('Main-Class': mainClassName)
}
from {
- configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
+ configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
@@ -58,7 +46,15 @@ javadoc {
}
}
+task javadocJar(type: Jar) {
+ classifier = 'javadoc'
+ from javadoc
+}
+
+artifacts {
+ archives javadocJar
+}
+
test {
useJUnitPlatform()
}
-
diff --git a/notes_to_tone.wav b/notes_to_tone.wav
index e2162a5..91c607f 100644
--- a/notes_to_tone.wav
+++ b/notes_to_tone.wav
Binary files differ
diff --git a/settings.gradle b/settings.gradle
index 94bd48c..f093a11 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,2 +1,2 @@
-rootProject.name = 'jysn'
+rootProject.name = 'jsyn'
include 'examples'