Skip to content
Snippets Groups Projects
Commit 74b5310d authored by Matyáš Latner's avatar Matyáš Latner
Browse files

#25 SQLite driver for iOS

parent 90612489
No related merge requests found
......@@ -88,6 +88,7 @@ project(":desktop") {
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
compile "net.engio:mbassador:$mbassadorVersion"
compile "com.jcabi:jcabi-manifests:1.1"
compile "org.xerial:sqlite-jdbc:$sqlLiteJdbcVersion"
}
}
......@@ -157,7 +158,6 @@ project(":core") {
compile "net.dermetfan.libgdx-utils:libgdx-utils:$gdxUtilsVersion"
compile "net.engio:mbassador:$mbassadorVersion"
compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
compile "org.xerial:sqlite-jdbc:$sqlLiteJdbcVersion"
testCompile "junit:junit:4.11"
testCompile "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
......
......@@ -19,8 +19,9 @@ public class SqliteStorage {
private enum SQLDriverType {
DESKTOP(Application.ApplicationType.Desktop, "org.sqlite.JDBC", "jdbc:sqlite:"),
ANDROID(Application.ApplicationType.Android, "org.sqldroid.SQLDroidDriver", "jdbc:sqldroid:");
DESKTOP (Application.ApplicationType.Desktop, "org.sqlite.JDBC", "jdbc:sqlite:"),
ANDROID (Application.ApplicationType.Android, "org.sqldroid.SQLDroidDriver", "jdbc:sqldroid:"),
IOS (Application.ApplicationType.iOS, "SQLite.JDBCDriver", "jdbc:sqlite:");
private Application.ApplicationType applicationType;
private String driverName;
......
......@@ -31,10 +31,11 @@
<pattern>com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL</pattern>
<pattern>org.apache.harmony.security.provider.cert.DRLCertFactory</pattern>
<pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern>
<pattern>SQLite.**</pattern>
</forceLinkClasses>
<libs>
<lib>build/libs/ios/libgdx.a</lib>
<lib>build/libs/ios/libgdx-freetype.a</lib>
<lib>build/libs/ios/libgdx.a</lib>
<lib>build/libs/ios/libObjectAL.a</lib>
</libs>
<frameworks>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment