mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-02-26 08:27:46 +01:00
updating to Android Studio 3
This commit is contained in:
parent
42e1f06d16
commit
8332399473
@ -12,6 +12,7 @@ android {
|
|||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 23
|
versionCode 23
|
||||||
versionName "2.3.0"
|
versionName "2.3.0"
|
||||||
|
setProperty("archivesBaseName", "draw")
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
@ -37,23 +38,10 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.simplemobiletools:commons:2.37.2'
|
implementation 'com.simplemobiletools:commons:2.41.5'
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
Properties props = new Properties()
|
||||||
ext.kotlin_version = '1.1.51'
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
||||||
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def Properties props = new Properties()
|
|
||||||
def propFile = new File('signing.properties')
|
def propFile = new File('signing.properties')
|
||||||
if (propFile.canRead()) {
|
if (propFile.canRead()) {
|
||||||
props.load(new FileInputStream(propFile))
|
props.load(new FileInputStream(propFile))
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
ext.kotlin_version = '1.1.60'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
google()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.0.0'
|
classpath 'com.android.tools.build:gradle:3.0.0'
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
@ -15,8 +20,8 @@ buildscript {
|
|||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
google()
|
||||||
maven { url 'https://jitpack.io' }
|
maven { url 'https://jitpack.io' }
|
||||||
maven { url "https://maven.google.com" }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user