From 19efd53f3a2ff3bfe90a47e09b9fd9d0d0bad87b Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Thu, 26 Apr 2018 15:19:14 +0200 Subject: [PATCH] Improve build performance Signed-off-by: Janne Koschinski <janne@kuschku.de> --- .gitignore | 3 ++- gradle.properties | 26 +++++++++++++++++++ .../gradle/incremental.annotation.processors | 1 + 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 invokergenerator/src/main/resources/META-INF/gradle/incremental.annotation.processors diff --git a/.gitignore b/.gitignore index 33c1ce8f1..87bd51c7e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,6 @@ /captures .externalNativeBuild build/ -/*/schemas/ +/reports/ +/persistence/schemas/ /deploy.sh diff --git a/gradle.properties b/gradle.properties index cf36e9a16..fd51f17e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,25 @@ +# +# QuasselDroid - Quassel client for Android +# +# Copyright (c) 2018 Janne Koschinski +# Copyright (c) 2018 Ken Børge Viktil +# Copyright (c) 2018 Magnus Fjell +# Copyright (c) 2018 Martin Sandsmark +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program. If not, see <http://www.gnu.org/licenses/>. +# + # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* @@ -15,3 +37,7 @@ org.gradle.parallel=true org.gradle.configureondemand=false # Enable new Android D8 Dexer android.enableD8=true +# Enable gradle build cache +org.gradle.caching=true +# Enable android build cache +android.enableBuildCache=true diff --git a/invokergenerator/src/main/resources/META-INF/gradle/incremental.annotation.processors b/invokergenerator/src/main/resources/META-INF/gradle/incremental.annotation.processors new file mode 100644 index 000000000..a3f015c51 --- /dev/null +++ b/invokergenerator/src/main/resources/META-INF/gradle/incremental.annotation.processors @@ -0,0 +1 @@ +de.kuschku.libquassel.annotations.InvokerProcessor,isolating -- GitLab