diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f46cc99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +*.iml +.gradle +/local.properties +/.idea/workspace.xml +/.idea/libraries +.DS_Store +/build +/tmp +/captures +.externalNativeBuild +app/link +*.log +.idea/codeStyles/Project.xml +.idea/statistic.xml +app/fabric.properties +.idea/caches/build_file_checksums.ser +*.ser diff --git a/build.gradle b/build.gradle index e220f0b..8250249 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,10 @@ buildscript { repositories { jcenter() + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.2' + classpath 'com.android.tools.build:gradle:3.1.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,5 +16,6 @@ buildscript { allprojects { repositories { jcenter() + google() } } diff --git a/decoviewlib/build.gradle b/decoviewlib/build.gradle index 1751f8e..0ffc11c 100644 --- a/decoviewlib/build.gradle +++ b/decoviewlib/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { - minSdkVersion 8 - targetSdkVersion 23 + minSdkVersion 14 + targetSdkVersion 27 versionCode 10 versionName "1.2" } @@ -24,7 +24,7 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.3.0' - compile 'com.nineoldandroids:library:2.4.0' + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.nineoldandroids:library:2.4.0' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 22d46c5..fd7a759 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip diff --git a/sampleapp/build.gradle b/sampleapp/build.gradle index aae3ae9..6db208d 100644 --- a/sampleapp/build.gradle +++ b/sampleapp/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 27 + buildToolsVersion "27.0.3" defaultConfig { applicationId 'com.hookedonplay.decoviewsample' - minSdkVersion 8 - targetSdkVersion 23 + minSdkVersion 14 + targetSdkVersion 27 versionCode 10 versionName "1.2" } @@ -25,7 +25,7 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - compile 'com.android.support:appcompat-v7:23.3.0' - compile project(':decoviewlib') + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation project(':decoviewlib') }