Skip to content

Instantly share code, notes, and snippets.

@jamesthompson
Created February 4, 2013 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesthompson/4708516 to your computer and use it in GitHub Desktop.
Save jamesthompson/4708516 to your computer and use it in GitHub Desktop.
build.gradle for ImageJ Plugins
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'
}
}
@jamesthompson
Copy link
Author

Must have source compatibility / target compatibility set to 1.6 for ImageJ I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment