0
0
mirror of https://github.com/MuntashirAkon/Metro.git synced 2024-09-19 19:42:21 +02:00

Enable configuration cache & gradle enterprise

This commit is contained in:
Goooler 2022-07-24 09:59:02 +08:00
parent 2423822615
commit bc83f0a497
3 changed files with 20 additions and 2 deletions

View File

@ -73,7 +73,10 @@ android {
kotlinOptions {
jvmTarget = "1.8"
}
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}

View File

@ -8,4 +8,6 @@ org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -Dfile.encoding=UTF-8
org.gradle.parallel=true
# https://blog.jetbrains.com/kotlin/2022/07/a-new-approach-to-incremental-compilation-in-kotlin/
kotlin.incremental.useClasspathSnapshot=true
kotlin.incremental.useClasspathSnapshot=true
# https://docs.gradle.org/7.5/userguide/configuration_cache.html
org.gradle.unsafe.configuration-cache=true

View File

@ -1,3 +1,15 @@
// https://docs.gradle.com/enterprise/gradle-plugin/
plugins {
id "com.gradle.enterprise" version "3.10.3"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
@ -6,4 +18,5 @@ dependencyResolutionManagement {
maven { url "https://jitpack.io" }
}
}
include ':app', ':appthemehelper'