Created
February 4, 2013 18:24
-
-
Save jamesthompson/4708516 to your computer and use it in GitHub Desktop.
build.gradle for ImageJ Plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
sourceCompatibility=1.6 | |
targetCompatibility=1.6 | |
dependencies { | |
compile files("/Users/James/Desktop/GUVJesper/lib/ij.jar", "/Users/James/Desktop/GUVJesper/lib/loci_tools.jar") | |
} | |
mainClass = 'ND2_GUVPlugin' | |
sourceSets { | |
main { | |
java { | |
srcDir 'src/java' | |
} | |
resources { | |
srcDir 'src/resources' | |
} | |
} | |
} | |
jar { | |
into('lib') { | |
from 'lib' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Must have source compatibility / target compatibility set to 1.6 for ImageJ I think.