Skip to content

Commit

Permalink
fix javacpp-platform specification. Remove extra stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Dec 6, 2023
1 parent b205e73 commit 28b5a2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
[versions]
alsakt = "0.3.4"
core-ktx = "1.10.1"
jna = "5.12.1"
jnaerator-runtime = "0.12"
junit = "4.13.2"
junit-jupiter-api = "5.9.0"
kotlin-test-junit = "1.9.0"
kotlinx-coroutines-core = "1.7.0"
kotlinx-datetime = "0.4.0"
ktor-io = "2.3.2"
metalava-gradle = "0.2.3"
#rtmidi-jna = "0.1.3"
rtmidi-javacpp = "0.1.1"

[libraries]
alsakt = { module = "dev.atsushieno:alsakt", version.ref = "alsakt" }
core-ktx = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
jnaerator-runtime = { module = "com.nativelibs4java:jnaerator-runtime", version.ref = "jnaerator-runtime" }
junit = { module = "junit:junit", version.ref = "junit" }
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit-jupiter-api" }
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit-jupiter-api" }
Expand All @@ -27,7 +22,6 @@ kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-t
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
ktor-io = { module = "io.ktor:ktor-io", version.ref = "ktor-io" }
metalava-gradle = { module = "me.tylerbwong.gradle:metalava-gradle", version.ref = "metalava-gradle" }
#rtmidi-jna = { module = "dev.atsushieno:rtmidi-jna", version.ref = "rtmidi-jna" }
rtmidi-javacpp = { module = "dev.atsushieno:rtmidi-javacpp", version.ref = "rtmidi-javacpp" }
rtmidi-javacpp-platform = { module = "dev.atsushieno:rtmidi-javacpp-platform", version.ref = "rtmidi-javacpp" }

Expand Down
19 changes: 0 additions & 19 deletions ktmidi-jvm-desktop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,11 @@ plugins {
id 'org.jetbrains.kotlin.jvm'
id 'maven-publish'
id 'signing'
id 'org.bytedeco.gradle-javacpp-platform' version "1.5.8"
}

ext {
//javacppPlatform = 'linux-x86_64,linux-arm64,macosx-x86_64,macosx-arm64,windows-x86_64,windows-arm64' // defaults to Loader.getPlatform()
javacppPlatform = 'macosx-arm64'
}

dependencies {
implementation project(":ktmidi")
implementation libs.alsakt
//implementation libs.rtmidi.jna
//implementation libs.jna
//implementation libs.jnaerator.runtime
api libs.rtmidi.javacpp.platform

implementation libs.kotlinx.coroutines.core
Expand Down Expand Up @@ -87,16 +78,6 @@ afterEvaluate {
}

repositories {
/*
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/atsushieno/ktmidi")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
*/
maven {
name = "OSSRH"
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
Expand Down

0 comments on commit 28b5a2b

Please sign in to comment.