Wizard: fix android project template

It was not able to be built as lint task required com.android.tools.build:gradle
in classpath to work

#KT-38579 fixed
This commit is contained in:
Ilya Kirillov
2020-04-25 13:33:35 +03:00
parent 72030ee94e
commit 47125553cb
18 changed files with 120 additions and 38 deletions
@@ -1,6 +1,6 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android' version 'KOTLIN_VERSION'
id 'org.jetbrains.kotlin.android'
id 'kotlin-android-extensions'
}
group = 'testGroupId'
@@ -1,6 +1,6 @@
plugins {
id("com.android.application")
kotlin("android") version "KOTLIN_VERSION"
kotlin("android")
id("kotlin-android-extensions")
}
group = "testGroupId"
@@ -1,3 +1,17 @@
buildscript {
repositories {
gradlePluginPortal()
jcenter()
google()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-dev'
}
}
dependencies {
classpath('org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION')
classpath('com.android.tools.build:gradle:3.5.2')
}
}
group = 'testGroupId'
version = '1.0-SNAPSHOT'
@@ -1,3 +1,17 @@
buildscript {
repositories {
gradlePluginPortal()
jcenter()
google()
maven {
url = uri("https://dl.bintray.com/kotlin/kotlin-dev")
}
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:KOTLIN_VERSION")
classpath("com.android.tools.build:gradle:3.5.2")
}
}
group = "testGroupId"
version = "1.0-SNAPSHOT"