From c6e644ec7702dbe80712e775f59215ce2df0dedc Mon Sep 17 00:00:00 2001 From: jandegr Date: Wed, 2 May 2018 21:22:17 +0200 Subject: rework:android:Move build system from ant to grandle (#553) rework:android:Move build system from ant to grandle --- build.gradle | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build.gradle (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle new file mode 100644 index 000000000..1ea4bd055 --- /dev/null +++ b/build.gradle @@ -0,0 +1,23 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.android.tools.build:gradle:2.3.0' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +allprojects { + repositories { + jcenter() + } +} + +task clean(type: Delete) { + delete rootProject.buildDir +} -- cgit v1.2.1 From ac688b1c67fcfbbf6c59129f817cd406ae87dfb6 Mon Sep 17 00:00:00 2001 From: jandegr Date: Fri, 25 May 2018 06:58:49 +0200 Subject: Add:Android:checkstyle-javadoc (#595) * Android checkstyle and javadoc * bump gradle version * bump gradle version * Android checkstyle and javadoc * ArrayTypeStyle as failure * fix Array brackets at illegal position. * typo * fix Array brackets at illegal position. * CustomImportOrder severity error * optimize imports * optimize imports --- build.gradle | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 1ea4bd055..ec95872d8 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,14 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } + google() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.0' + classpath 'com.android.tools.build:gradle:3.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,6 +20,10 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } } -- cgit v1.2.1 From ceba43b9958bc6e0809f56e08c60c750815f1db0 Mon Sep 17 00:00:00 2001 From: jkoan Date: Wed, 24 Oct 2018 20:33:22 +0200 Subject: add:build:add google to allprojects --- build.gradle | 1 + 1 file changed, 1 insertion(+) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index ec95872d8..93d35c9ee 100644 --- a/build.gradle +++ b/build.gradle @@ -20,6 +20,7 @@ buildscript { allprojects { repositories { jcenter() + google() maven { url 'https://maven.google.com/' name 'Google' -- cgit v1.2.1 From c0e2edc94d10f32559a05ed1ef547401496a95d0 Mon Sep 17 00:00:00 2001 From: jkoan Date: Wed, 24 Oct 2018 20:46:14 +0200 Subject: fix:build:Change order --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 93d35c9ee..5a6fb413a 100644 --- a/build.gradle +++ b/build.gradle @@ -19,8 +19,8 @@ buildscript { allprojects { repositories { - jcenter() google() + jcenter() maven { url 'https://maven.google.com/' name 'Google' -- cgit v1.2.1 From c79f105348acd1ea68328bcb131303353c57aa3f Mon Sep 17 00:00:00 2001 From: jkoan Date: Wed, 24 Oct 2018 20:49:12 +0200 Subject: fix:build:Move google up/change order --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 5a6fb413a..5d598ab8b 100644 --- a/build.gradle +++ b/build.gradle @@ -2,12 +2,12 @@ buildscript { repositories { + google() jcenter() maven { url 'https://maven.google.com/' name 'Google' } - google() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' -- cgit v1.2.1