mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
54 lines
1.6 KiB
Groovy
54 lines
1.6 KiB
Groovy
apply from: 'build-dependecies/fasthub-dependencies.gradle'
|
|
apply from: 'build-dependecies/fasthub-config.gradle'
|
|
|
|
configurations {
|
|
ktlint
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.3.50'
|
|
|
|
ext {
|
|
kotlin = '1.3.50'
|
|
kotlin_version = '1.3.50'
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://maven.fabric.io/public' }
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.5.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin"
|
|
classpath 'io.fabric.tools:gradle:1.28.0'
|
|
classpath 'com.novoda:gradle-build-properties-plugin:0.3'
|
|
classpath 'android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0'
|
|
classpath 'com.google.gms:google-services:4.3.2'
|
|
classpath 'com.apollographql.apollo:apollo-gradle-plugin:1.0.1'
|
|
classpath 'gradle.plugin.org.jlleitschuh.gradle:ktlint-gradle:2.3.0'
|
|
classpath "com.github.ben-manes:gradle-versions-plugin:0.21.0"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
maven { url 'https://dl.bintray.com/sysdata/maven' }
|
|
maven { url 'http://repo.pageturner-reader.org' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
subprojects {
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
|
}
|