...
 
Commits (4)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.version = '1.1.0'
ext.versionCode = 11000
ext.version = '2.0.0-SNAPSHOT'
ext.versionCode = 20000
ext.kotlinVersion = '1.3.21'
ext.javaUtilsVersion = '2.0.0-SNAPSHOT'
ext.slf4JVersion = '1.7.26'
ext.appCompatVersion = '27.1.1'
......@@ -74,11 +76,14 @@ repositories {
mavenCentral()
jcenter()
google()
mavenLocal()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
implementation "net.dankito.utils:java-utils:$javaUtilsVersion"
implementation "org.slf4j:slf4j-api:$slf4JVersion"
implementation "com.android.support:appcompat-v7:$appCompatVersion"
......
package net.dankito.utils.android.io
import android.content.Context
import net.dankito.utils.io.JavaFileStorageService
import java.io.File
class AndroidFileStorageService(val context: Context) : JavaFileStorageService() {
override fun getDataFolder(): File {
return context.filesDir
}
}
\ No newline at end of file