How to import dependencies using gradle
<p>I apologize for my noob question, however i cannot understand how i import dependencies using gradle.</p>

<p>I have tried importing <code>sqlite4java</code>and my <code>build.gradle</code> file looks like this:</p>

<pre><code>apply plugin: 'java'
apply plugin: 'idea'


repositories {
    jcenter()
}

dependencies {
    compile 'org.slf4j:slf4j-api:1.7.21'
    compile "com.almworks.sqlite4java:sqlite4java:1.0.392"
    testCompile 'junit:junit:4.12'
}
</code></pre>

<p>I have tried using:</p>

<pre><code>import com.almworks.sqlite4java.SQLiteConnection;
import com.almworks.sqlite4java.SQLiteStatement;
</code></pre>

<p>To import the <code>sqlite4java</code> classes but i keep getting compiler errors when i run <code>gradle build</code>.</p>

<p>How do i access the <code>sqlite4java</code> classes.</p>