diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml index ea5319f..e5f8f77 100644 --- a/.github/workflows/publish_snapshot.yml +++ b/.github/workflows/publish_snapshot.yml @@ -3,8 +3,6 @@ name: Publish Snapshot on: push: branches: [ master ] - pull_request: - branches: [ master ] jobs: macos: diff --git a/README.md b/README.md index b79fc05..32db3e9 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,12 @@ implementation "com.badlogicgames.gdxvideo:gdx-video:0.0.1" ##### Desktop: ```groovy implementation "com.badlogicgames.gdxvideo:gdx-video-lwjgl:0.0.1" -implementation "com.badlogicgames.gdxvideo:gdx-video-platform:0.0.1:natives-desktop" +implementation "com.badlogicgames.gdxvideo:gdx-video-desktop:0.0.1" ``` or ```groovy implementation "com.badlogicgames.gdxvideo:gdx-video-lwjgl3:0.0.1" -implementation "com.badlogicgames.gdxvideo:gdx-video-platform:0.0.1:natives-desktop" +implementation "com.badlogicgames.gdxvideo:gdx-video-desktop:0.0.1" ``` ##### Android: @@ -73,9 +73,8 @@ Desktop: com.badlogicgames.gdxvideo - gdx-video-platform + gdx-video-desktop 0.0.1 - natives-desktop ``` Android: diff --git a/gdx-video-desktop/build.gradle b/gdx-video-desktop/build.gradle index bb3e6bd..61aa0e3 100644 --- a/gdx-video-desktop/build.gradle +++ b/gdx-video-desktop/build.gradle @@ -200,6 +200,10 @@ jnigen { } } +jar { + from fileTree("libs").files +} + eclipse.project { name = projectGroup + "-desktop" } diff --git a/publish.gradle b/publish.gradle index e3161f8..3149aed 100644 --- a/publish.gradle +++ b/publish.gradle @@ -75,8 +75,14 @@ afterEvaluate { project -> classifier = 'javadoc' } + task nativesJar(type: Jar, dependsOn: classes) { + from fileTree("libs").files + classifier = 'natives' + } + artifacts { - archives libraryJar + //archives libraryJar + //archives nativesJar archives sourcesJar archives javadocJar }