Skip to content

Commit

Permalink
Expose libraries as API
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed Jun 20, 2023
1 parent b06b3b9 commit 24c6af9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'java'
id 'java-library'
id 'application'
id 'maven-publish'
id "checkstyle"
Expand Down Expand Up @@ -34,6 +34,8 @@ java {
languageVersion = JavaLanguageVersion.of(17)
}
}

withSourcesJar()
}

javafx {
Expand All @@ -50,12 +52,12 @@ dependencies {
implementation "com.github.javaparser:javaparser-core:${javaparser_version}"
implementation "net.fabricmc:cfr:${fabric_cfr_version}"
implementation "net.fabricmc:fabric-fernflower:${fabric_fernflower_version}"
implementation "net.fabricmc:mapping-io:${mappingio_version}"
implementation "org.bitbucket.mstrobel:procyon-compilertools:${procyon_version}"
implementation "org.ow2.asm:asm:${asm_version}"
implementation "org.ow2.asm:asm-commons:${asm_version}"
implementation "org.ow2.asm:asm-tree:${asm_version}"
implementation "org.ow2.asm:asm-util:${asm_version}"
api "net.fabricmc:mapping-io:${mappingio_version}"
api "org.ow2.asm:asm:${asm_version}"
api "org.ow2.asm:asm-commons:${asm_version}"
api "org.ow2.asm:asm-tree:${asm_version}"
api "org.ow2.asm:asm-util:${asm_version}"

// JavaFX for all platforms (needed for cross-platform fat jar)
runtimeOnly "org.openjfx:javafx-base:${javafx_version}:win"
Expand Down

0 comments on commit 24c6af9

Please sign in to comment.