How can I set up a simple gradle project that uses sqlite4java?
I'm starting a simple java test project using sqlite4java and building using java. I can get the core sqlite4java library downloaded easily, but I'm not sure what the best (any!) way to get gradle to download the native libraries and put them in the right place. This is my build.gradle file: apply plugin: 'java' /* We use Java 1.7 */ sourceCompatibility = 1.7 targetCompatibility = 1.7 version = '1.0' repositories { mavenCentral() } sourceSets { main { java.srcDir 'src' output.classesDir = 'build/main' } test { java.srcDir 'test' output.classesDir = 'build/test' } } dependencies { testCompile