mirror of https://github.com/iSoron/uhabits.git
parent
a5dfe0ec51
commit
8206450456
@ -1,15 +0,0 @@
|
||||
plugins {
|
||||
id 'com.android.application' version "4.1.0" apply false
|
||||
id "org.jetbrains.kotlin.android" version "$KOTLIN_VERSION" apply false
|
||||
id "org.jetbrains.kotlin.kapt" version "$KOTLIN_VERSION" apply false
|
||||
id "org.jetbrains.kotlin.android.extensions" version "$KOTLIN_VERSION" apply false
|
||||
id "org.jetbrains.kotlin.multiplatform" version "1.4.21" apply false
|
||||
id "org.jlleitschuh.gradle.ktlint" version "9.4.1"
|
||||
}
|
||||
|
||||
// Needed for ktlint. Taken from: https://github.com/JLLeitschuh/ktlint-gradle/issues/181#issuecomment-443146206
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
plugins {
|
||||
val kotlinVersion = "1.4.21"
|
||||
id("com.android.application") version ("4.1.0") apply (false)
|
||||
id("org.jetbrains.kotlin.android") version kotlinVersion apply (false)
|
||||
id("org.jetbrains.kotlin.kapt") version kotlinVersion apply (false)
|
||||
id("org.jetbrains.kotlin.android.extensions") version kotlinVersion apply (false)
|
||||
id("org.jetbrains.kotlin.multiplatform") version kotlinVersion apply (false)
|
||||
id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven(url = "https://plugins.gradle.org/m2/")
|
||||
maven(url = "https://oss.sonatype.org/content/repositories/snapshots/")
|
||||
maven(url = "https://kotlin.bintray.com/ktor")
|
||||
maven(url = "https://kotlin.bintray.com/kotlin-js-wrappers")
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
if (requested.id.id == "com.android.application") {
|
||||
useModule("com.android.tools.build:gradle:${requested.version}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include ':uhabits-android', ':uhabits-core', ':uhabits-server'
|
@ -0,0 +1,14 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
google()
|
||||
}
|
||||
resolutionStrategy.eachPlugin {
|
||||
if (requested.id.id == "com.android.application") {
|
||||
useModule("com.android.tools.build:gradle:${requested.version}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include(":uhabits-android", ":uhabits-core", ":uhabits-server")
|
Loading…
Reference in new issue