1apply plugin: 'java' 2 3dependencies { 4 implementation fileTree(dir: "libs", include: ["*.jar"]) 5 implementation project(':common') 6} 7 8archivesBaseName = 'mindspore-lite-java' 9 10task releaseJar(type: Jar) { 11 from('build/classes/java/main') 12 from('../common/build/classes/java/main') 13 destinationDirectory = file('build/lib/jar') 14} 15 16releaseJar.dependsOn(build) 17 18