mirror of
https://github.com/tuskyapp/Tusky
synced 2024-12-14 01:54:49 +01:00
1586817c3d
* update gradle, kotlin and other dependencies * fix new warnings * remove unused import * update Proguard rules * add explicit dependency on Gson to get the newest version * remove debug flag from proguard rules again * fix typo
30 lines
673 B
Groovy
30 lines
673 B
Groovy
buildscript {
|
|
ext.kotlin_version = '1.6.10'
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:7.0.4"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
|
|
}
|
|
}
|
|
plugins {
|
|
id "org.jlleitschuh.gradle.ktlint" version "10.1.0"
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint"
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|