sanderbaas / WeatherWidget

Add widget to home screen with 4 to 6 day weather forecast in your location
MIT License
22 stars 7 forks source link

Add Google repository #1

Closed Rudloff closed 6 years ago

Rudloff commented 6 years ago

Hello,

I get this error when I try to build the app for F-Droid:

Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all files for configuration ':app:lintClassPath'.
   > Could not find com.android.tools.lint:lint-gradle:26.1.3.
     Searched in the following locations:
         file:/home/pierre/www/android-sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
         file:/home/pierre/www/android-sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
         file:/home/pierre/www/android-sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
         file:/home/pierre/www/android-sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
         file:/home/pierre/www/android-sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
         file:/home/pierre/www/android-sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
         https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.pom
         https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.3/lint-gradle-26.1.3.jar
     Required by:
         project :app

I think the Google repository is added automatically by Android Studio but not by Gradle.

This patch fixes the error.

sanderbaas commented 6 years ago

I merged the commit, thank you. Hopefully it will build now :)

Rudloff commented 6 years ago

Thanks! Would it be possible to publish a new release with this fix?

sanderbaas commented 6 years ago

Of course! I have released v1.1.1