Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2020-05-09 12:55:16 +0300
committerDaniel Lublin <daniel@lublin.se>2020-05-09 12:55:16 +0300
commit30e3a5c3944a315d6286f453dfbc331092ea545e (patch)
treeaf969aebb8169cde2e4e1efd8a26d768a12ba8d9
parent74b0d4d36d9e03c3df09a817a10e1686f8914a2b (diff)
gradle: relocate allprojects lint
-rw-r--r--build.gradle14
1 files changed, 7 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index aa6b925..c6f8e77 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,13 +15,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-allprojects {
- tasks.withType(JavaCompile) {
- // TODO include deprecations at some point, but currently they are *many*
- options.compilerArgs << "-Xlint:all" << "-Xlint:-deprecation" << "-Xlint:-dep-ann"
- }
-}
-
buildscript {
repositories {
jcenter()
@@ -53,6 +46,13 @@ dependencies {
implementation 'com.google.guava:guava:28.2-android'
}
+allprojects {
+ tasks.withType(JavaCompile) {
+ // TODO include deprecations at some point, but currently they are *many*
+ options.compilerArgs << "-Xlint:all" << "-Xlint:-deprecation" << "-Xlint:-dep-ann"
+ }
+}
+
android {
compileSdkVersion 29
buildToolsVersion '29.0.3'