From 2f9edc9eaf20bd7b04ceb26227b60804def25a8f Mon Sep 17 00:00:00 2001 From: Marcus Handte Date: Fri, 1 Nov 2019 17:35:09 +0100 Subject: [PATCH] Fix typos, remove snapshots repo. --- README.md | 9 +++++---- build.gradle | 17 +++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8297746..1c2b71e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # About -The source code of a Gradle Plugin that can compute an Eclipse configuration from an Android project. +The source code of a Gradle Plugin that can compute an Eclipse configuration from an Android project. Most of the code originates from David Green's Gradle Android Eclipse plugin on [Github](https://github.com/greensopinion/gradle-android-eclipse). However, this version of his code includes several fixes that are required to use his work. # Setup @@ -18,11 +18,12 @@ To use the plugin, you will have to import it in your project's build.gradle fil buildscript { dependencies { classpath 'org.handte.gradle:android-eclipse-gradle:1.0.0' - } + } repositories { - maven { + maven { url = 'https://project.nes.uni-due.de/artifactory/releases'; credentials { username = 'public'; password = 'public' } + authentication { basic(BasicAuthentication) } } } } @@ -31,7 +32,7 @@ buildscript { Then apply the plugin to your Android application modules using the corresponding build.gradle file as follows: ``` -apply plugin: 'com.mowesta.gradle-android-eclipse' +apply plugin: 'org.handte.gradle-android-eclipse' eclipse { classpath { diff --git a/build.gradle b/build.gradle index 8ed2b32..41ae3c2 100644 --- a/build.gradle +++ b/build.gradle @@ -3,13 +3,10 @@ buildscript { classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.10.0' } repositories { - maven { + maven { url = 'https://project.nes.uni-due.de/artifactory/releases'; credentials { username = 'public'; password = 'public' } - } - maven { - url = 'https://project.nes.uni-due.de/artifactory/snaphsots'; - credentials { username = 'public'; password = 'public' } + authentication { basic(BasicAuthentication) } } } } @@ -46,19 +43,15 @@ subprojects { } artifactoryPublish.dependsOn('build') - artifactoryPublish { publications(publishing.publications.maven); } - repositories { - maven { + repositories { + maven { url = 'https://project.nes.uni-due.de/artifactory/releases'; credentials { username = 'public'; password = 'public' } - } - maven { - url = 'https://project.nes.uni-due.de/artifactory/snaphsots'; - credentials { username = 'public'; password = 'public' } + authentication { basic(BasicAuthentication) } } } }