/* * This file was generated by the Gradle 'init' task. */ plugins { // Apply the common convention plugin for shared build configuration between library and application projects. id("buildlogic.java-common-conventions") // Apply the java-library plugin for API and implementation separation. `java-library` } val rootDirPath = rootProject.projectDir.absolutePath var jarFilePath = "${rootDirPath}/repo/app/tuxguitar/tuxguitar-lib/1.6.6/tuxguitar-lib-1.6.6.jar" val javaFile = File(jarFilePath) // Create a File object if (!javaFile.exists()) { logger.warn("The specified JAR file does not exist: $jarFilePath") } else { logger.warn("The specified JAR file does in fact exist: $jarFilePath") } val jarFile = files(jarFilePath) dependencies { implementation(jarFile) }