Gradle plugin which downloads and manages your Android SDK.

Overview

DEPRECATED

This plugin is deprecated and is no longer being developed. Tools and dependencies are automatically downloaded using version 2.2.0 of the Android Gradle plugin or newer.

SDK Manager Plugin

SDK missing? API level not downloaded? Support library out-of-date?

These are all typical problems which you shouldn't have to deal with. This is especially painful when you have multiple developers on a project or a CI machine that you have to keep up-to-date.

This Gradle plugin will manage these SDK dependencies for you automatically.

Supported functionality:

  • local.properties will be created if missing. The ANDROID_HOME environment variable will be used if present. Otherwise ~/.android-sdk will be used.
  • The platform-specific SDK will be downloaded if missing.
  • The build tools and platform tools will be downloaded if missing.
  • Compilation API declared in compileSdkVersion will be downloaded if missing.
  • If any dependencies are declared on support libraries, the support repository will be downloaded if missing. If the revision of the support repository does not contain the version declared it will be updated.
  • If any dependencies are declared on Google Play Services, the Google repository will be downloaded if missing. If the revision of the Google repository does not contain the version declared it will be updated.
  • If an emulator is specified, it will be downloaded if missing. If the emulator revision is less than the available revision, it will be updated.

Note: By using this plugin you acknowledge that associated licenses of the components downloaded are accepted automatically on your behalf. You are required to have accepted the respective licenses of these components prior to using this plugin.

Usage

Apply the plugin in your build.gradle before the regular 'android' plugin:

buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:0.12.+'
    classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
  }
}

apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'

// optionally including an emulator
sdkManager {
  emulatorVersion 'android-19'
  emulatorArchitecture 'armeabi-v7a' // optional, defaults to arm
}

On an initial run, the output will look something like this:

$ ./gradlew clean assemble
Android SDK not found. Downloading...
SDK extracted at '/Users/jw/.android-sdk'. Writing to local.properties.
Build tools 20.0.0 missing. Downloading...
Compilation API android-19 missing. Downloading...
Support library repository missing. Downloading...
Google Play Services repository missing. Downloading...
Emulator version not installed or outdated. Downloading...

(normal execution output)

Your output likely will be different depending on the varying factors listed above. Subsequent runs will omit this output and proceed directly to normal execution.

How long does this plugin add to the build lifecycle? It currently takes about 100ms on average to check all of the above conditions. This cost is only paid when Gradle is setting up the model for the project. If you use the Gradle daemon or use Android Studio this only happens once.

License

Copyright 2014 Jake Wharton

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • android-20 Warning: The package filter removed all packages. There is nothing to install.

    android-20 Warning: The package filter removed all packages. There is nothing to install.

    Tried upgrading to android-20 today and got the following

    Build tools 20.0.0 missing. Downloading...
    Compilation API android-20 missing. Downloading...
    Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
    Google Play Services repository outdated. Downloading update...
    :clean UP-TO-DATE
    :preBuild FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':preBuild'.
    > failed to find target android-20 : /var/lib/jenkins/.android-sdk
    

    got this fixed manually by running

    ./android update sdk --no-ui
    

    Issue in more detail:

    16:14:53.227 [DEBUG] [com.jakewharton.sdkmanager.internal.SdkResolver] Found local.properties at '/var/lib/jenkins/jobs/BayesAndroidClient gradle/workspace/local.properties'.
    16:14:53.272 [DEBUG] [com.jakewharton.sdkmanager.internal.SdkResolver] Found sdk.dir of '/var/lib/jenkins/.android-sdk'.
    16:14:53.300 [INFO] [com.jakewharton.sdkmanager.SdkManagerPlugin] SDK resolve took 360 ms.
    16:14:56.981 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 8.294 secs
    16:14:57.039 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] Build tools version: 20.0.0
    16:14:57.045 [LIFECYCLE] [com.jakewharton.sdkmanager.internal.PackageResolver] Build tools 20.0.0 missing. Downloading...
    16:14:58.220 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Refresh Sources:
    16:14:58.235 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
    16:14:59.883 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML
    16:15:00.052 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML
    16:15:00.061 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetched Add-ons List successfully
    16:15:00.083 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Refresh Sources
    16:15:00.083 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
    16:15:00.369 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
    16:15:00.663 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
    16:15:00.820 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:00.949 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:00.964 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:01.066 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:01.132 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:01.133 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:01.269 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:01.361 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:01.370 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:01.497 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:01.542 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:01.544 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:01.670 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:01.687 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:01.812 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:01.822 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:01.920 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:01.925 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:02.038 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:02.059 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Refresh Sources:
    16:15:02.060 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:02.086 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:02.099 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:02.107 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:02.117 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:02.128 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:02.133 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:02.137 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:02.142 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:02.148 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:02.189 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Warning: The package filter removed all packages. There is nothing to install.
    16:15:02.189 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]          Please consider trying to update again without a package filter.
    16:15:02.222 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] Platform tools found!
    16:15:02.222 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] Compile API version: android-20
    16:15:02.225 [LIFECYCLE] [com.jakewharton.sdkmanager.internal.PackageResolver] Compilation API android-20 missing. Downloading...
    16:15:03.238 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Refresh Sources:
    16:15:03.252 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
    16:15:03.351 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML
    16:15:03.488 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML
    16:15:03.508 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetched Add-ons List successfully
    16:15:03.512 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Refresh Sources
    16:15:03.515 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
    16:15:05.199 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
    16:15:05.450 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
    16:15:05.656 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:05.674 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:05.690 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:05.696 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:05.752 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
    16:15:05.761 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:05.772 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:05.822 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
    16:15:05.826 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:05.835 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:05.880 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    16:15:05.884 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:05.895 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:05.918 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:05.928 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:05.930 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:05.937 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:05.952 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:05.957 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:05.991 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Refresh Sources:
    16:15:05.992 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:06.004 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
    16:15:06.017 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:06.026 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    16:15:06.045 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:06.053 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    16:15:06.064 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:06.076 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    16:15:06.079 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:06.082 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    16:15:06.156 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Warning: The package filter removed all packages. There is nothing to install.
    16:15:06.157 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]          Please consider trying to update again without a package filter.
    16:15:06.215 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] No support library dependency found.
    16:15:06.221 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] Found Google Play Services dependencies: [DefaultExternalModuleDependency{group='com.google.android.gms', name='play-services', version='4.4.52', configuration='default'}]
    
    opened by francisdb 28
  • Always self-update the SDK tools before installing build tools

    Always self-update the SDK tools before installing build tools

    This is more or less a simplified version of PRs #87, #44, #41, #37, in the sense that it always self-updates the SDK tools before installing the build tools, and does so after resolving the platform tools. The latter is necessary as the SDK tools depend on the platform tools, and resolving the SDK tools first would result in an error like

    Skipping 'Android SDK Tools, revision 24.4.1'; it depends on 'Android SDK Platform-tools, revision 23.1 rc1' which was not installed.
    

    This PR fixes a bunch of issues, mainly issue #43, but also issue #101 and related ones.

    opened by sschuberth 13
  • jarchivelib Not Honoring Unix Permissions

    jarchivelib Not Honoring Unix Permissions

    Most notably (and relevant) is the executable bit.

    While I'm currently working around this by explicitly setting the android file as executable, it has long-term implications when the other files are not properly extracted (e.g., zipalign).

    https://github.com/thrau/jarchivelib/issues/13

    opened by JakeWharton 13
  • Getting unnecessarily

    Getting unnecessarily "Google Play Services repository outdated. Downloading update..."

    This is just a minor annoyance, but I am getting this message every time even though I a way higher version of the repository than the one I am referencing (perhaps this is the reason?).

    To be specific I reference 4.1.+ while I had increasing versions up to 4.4.53 installed. Updating this morning the reference to version 4.4.+ yielded the same message during gradle sync and build.

    opened by cowst 12
  • Building on Travis-CI, aapt missing

    Building on Travis-CI, aapt missing

    My project has 3 git submodules (if that even matter) 2 of them use "android-library" plugin and one is "android". I've added "android-sdk-manager" each build.gradle. Running this on travis-ci, fails with following stacktrace:

    Building 9%FAILURE: Building 9%Build failed with an exception. Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9% "/home/travis/.android-sdk/build-tools/19.0.3/aapt": error=2, No such file or directory Building 9%> Building 9%> Building 9%> Building 9%--info Building 9%> Building 9%--debug Building 9%ore log output. Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%ptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42) Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%mandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201) Building 9%mandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174) Building 9%mandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170) Building 9%mandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139) Building 9%> Building 9%> Building 9%> Building 9%> Building 9%ain(Main.java:37) Building 9%> Building 9%> Building 9%ain(GradleMain.java:23) Building 9%> Building 9%> Building 9%ain(GradleWrapperMain.java:58) Building 9% "/home/travis/.android-sdk/build-tools/19.0.3/aapt": error=2, No such file or directory Building 9%> Building 9%> Building 9%entalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:236) Building 9%> Building 9%entalTaskAction.execute(AnnotationProcessingTaskFactory.java:223) Building 9%> Building 9%> Building 9%> Building 9%> Building 9%> Building 9%ore Building 9% "/home/travis/.android-sdk/build-tools/19.0.3/aapt": error=2, No such file or directory Building 9%.android.ide.common.internal.CommandLineRunner.runCmdLine(CommandLineRunner.java:87) Building 9%.android.ide.common.internal.CommandLineRunner.runCmdLine(CommandLineRunner.java:69) Building 9%.android.builder.AndroidBuilder.processResources(AndroidBuilder.java:741) Building 9%.android.builder.AndroidBuilder$processResources.call(Unknown Source) Building 9%.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.groovy:99) Building 9%.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.groovy:64) Building 9%> Building 9%ore Building 9%> Building 9%ore Building 9%> Building 9%> Building 9%BUILD FAILED Building 9%> Building 9%> Building 9%e: 54.579 secs Building 9%

    opened by maxchursin 8
  • When using support library 19.1.+ or 20.+, It is not downloaded

    When using support library 19.1.+ or 20.+, It is not downloaded

    When I try to compile on my computer which already has the SDK and newer versions of the support library, it works fine. If I go to a computer and begin the process there, it downloads the Android SDK, and then fails unable to match 19.1.+ or 20.+.

    I'm not sure, but this may be a larger problem with Gradle. I have never been able to get Gradle to download the support dependency for anything past 19.0.+

    opened by omniuni 7
  • Ended up with empty android-19 folder

    Ended up with empty android-19 folder

    Just started a build on a new clean ci server:

    Android SDK not found. Downloading...
    SDK extracted at '/var/lib/jenkins/.android-sdk'. Writing to local.properties.
    Build tools 19.1.0 missing. Downloading...
    Platform tools missing. Downloading...
    Compilation API android-19 missing. Downloading...
    Download http://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.2/commons-math3-3.2.pom
    Download http://repo1.maven.org/maven2/org/apache/commons/commons-parent/28/commons-parent-28.pom
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring root project 'workspace'.
    > Failed to notify project evaluation listener.
       > Compilation API android-19 download failed with code 1.
       > Could not resolve all dependencies for configuration ':_debugCompile'.
          > Could not find any version that matches com.android.support:support-v4:19.1.+.
            Required by:
                :workspace:unspecified
          > Could not find any version that matches com.android.support:appcompat-v7:19.1.+.
            Required by:
                :workspace:unspecified
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    

    After this I had an empty ~/.android-sdk/platforms/android-19 folder. Starting an other build does not retry the android-19 download and fails like this:

    :preBuild FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':preBuild'.
    > failed to find target android-19 : /var/lib/jenkins/.android-sdk
    

    I suppose the plugin thinks I have android-19 installed, maybe it could check for empty folders?

    I manually removed the empty folder, restarted the build and got this

    Compilation API android-19 missing. Downloading...
    
    ...
    08:17:34.918 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Do you accept the license 'android-sdk-license-bcbbd656' [y/n]: 
    08:17:34.918 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Installing Archives:
    08:17:34.920 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Preparing to install archives
    08:17:34.920 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Downloading SDK Platform Android 4.4.2, API 19, revision 3
    08:17:36.947 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]      (56%, 17654 KiB/s, 1 seconds left)
    08:17:37.946 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]      (90%, 18804 KiB/s, 0 seconds left)
    08:17:38.186 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Installing SDK Platform Android 4.4.2, API 19, revision 3
    08:17:39.912 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (1%)
    08:17:40.083 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (3%)
    08:17:40.122 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (4%)
    08:17:40.532 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (16%)
    08:17:40.613 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (17%)
    08:17:40.800 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (18%)
    08:17:41.007 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (20%)
    08:17:41.053 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (21%)
    08:17:41.211 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (22%)
    08:17:41.413 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (23%)
    08:17:41.687 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (24%)
    08:17:42.020 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Unzipping SDK Platform Android 4.4.2, API 19, revision 3 (25%)
    Build step 'Invoke Gradle script' changed build result to FAILURE
    Build step 'Invoke Gradle script' marked build as failure
    Sending e-mails to: [email protected]
    Finished: FAILURE
    

    I can reproduce this failure by again removing the android-19 folder and it fails at different percentages but I end up with a complete android-19 folder (114M).

    The next build succeeded without further downloads

    [workspace] $ "/var/lib/jenkins/jobs/MyProject gradle/workspace/gradlew" assemble check
    Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
    :preBuild
    :compileDebugNdk
    :preDebugBuild
    :checkDebugManifest
    ...
    

    Since this is a low-memory (512MB without swap) machine some of the issues could be related to not enough memory but I would at least expect some OOM errors logged.

    opened by francisdb 7
  • "Android SDK Platform-tools" is not installed

    I've tried to use this plugin for Android SDK which I've installed today, and found that the plugin doesn't install "Android SDK Platform-tools".

    Is there a plan to support managing platform tools in the plugin?

    opened by gfx 7
  • link for alternative?

    link for alternative?

    Hi Jake

    This plugin is deprecated and is no longer being developed. The Android tools team has committed to automatically downloading tools and dependencies in v2.2.0 and will be improving it in subsequent releases.

    I'm an irregular visitor to the android world but I haven't found anything about auto downloading sdks and 2.2.0. Can you provide a link that describes the alternative to your project please (and prehaps update the README with it)? Thanks

    opened by davidmoten 6
  • Downloaded android SDK doesn't contain proguard

    Downloaded android SDK doesn't contain proguard

    I don't specify path to android-sdk, so sdk-manager-plugin downloads sdk, tools, play services, support library and starts to build projects, but fails with message:

    ...
    :app:proguardDebug FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:proguardDebug'.
    > java.io.FileNotFoundException: C:\Users\danik\.android-sdk\tools\proguard\proguard-android.txt
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    

    Downloaded by sdk-manager-plugin android-sdk doesn't contain proguard at path C:\Users\danik\.android-sdk\tools\

    My build.gradle is

    buildscript {
    ...
        dependencies {
            classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0'
    ...
        }
    }
    
    apply plugin: 'android-sdk-manager'
    apply plugin: 'com.android.application'
    
    android {
        compileSdkVersion 21
        buildToolsVersion '21.0.2'
    
        defaultConfig {
            minSdkVersion 14
            targetSdkVersion 18 
    ...
        }
        buildTypes {
            debug {
                signingConfig signingConfigs.debug
                runProguard true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
            release {
                runProguard true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro', 'proguard-rules.pro'
                signingConfig signingConfigs.release
            }
    }
    
    opened by danikula 6
  • Redirecting to prod_unavailable.html when using Jenkins

    Redirecting to prod_unavailable.html when using Jenkins

    Hey there!

    I'm trying to get Jenkins builds running for my android app, however it seems that Google has blocked the user agent for sdk-manager-plugin by redirecting to http://dl.google.com/service/prod_unavailable.html (Going to http://dl.google.com/android/android-sdk_r23-linux.tgz works fine with wget):

    05:47:09.170 [DEBUG] [com.jakewharton.sdkmanager.internal.SdkResolver] Missing local.properties.
    05:47:09.174 [DEBUG] [com.jakewharton.sdkmanager.internal.SdkResolver] Missing ANDROID_HOME.
    05:47:09.179 [LIFECYCLE] [com.jakewharton.sdkmanager.internal.SdkResolver] Android SDK not found. Downloading...
    05:47:09.262 [DEBUG] [com.jakewharton.sdkmanager.internal.SdkDownload] Downloading SDK from http://dl.google.com/android/android-sdk_r23-linux.tgz.
    05:47:09.357 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@59b0ddf65 pairs: {GET /android/android-sdk_r23-linux.tgz HTTP/1.1: null}{User-Agent: Java/1.7.0_72}{Host: dl.google.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
    05:47:09.377 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@26df536f11 pairs: {null: HTTP/1.1 302 Found}{Last-Modified: Wed, 26 Aug 2009 21:00:00 GMT}{Location: http://dl.google.com/service/prod_unavailable.html}{Server: downloads}{X-Content-Type-Options: nosniff}{X-Frame-Options: SAMEORIGIN}{X-Xss-Protection: 1; mode=block}{Date: Sun, 26 Oct 2014 05:47:09 GMT}{Content-Length: 73}{Content-Type: text/html; charset=utf-8}{Alternate-Protocol: 80:quic,p=0.01}
    05:47:09.386 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] Redirected from http://dl.google.com/android/android-sdk_r23-linux.tgz to http://dl.google.com/service/prod_unavailable.html
    05:47:09.390 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@59b0ddf65 pairs: {GET /service/prod_unavailable.html HTTP/1.1: null}{User-Agent: Java/1.7.0_72}{Host: dl.google.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
    05:47:09.402 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@650bab3213 pairs: {null: HTTP/1.1 200 OK}{Accept-Ranges: bytes}{Content-Length: 1540}{Content-Type: text/html}{Etag: "1a6c"}{Expires: Sun, 26 Oct 2014 22:47:09 PDT}{Last-Modified: Tue, 01 Jan 2008 08:00:00 GMT}{Server: downloads}{X-Content-Type-Options: nosniff}{X-Frame-Options: SAMEORIGIN}{X-Xss-Protection: 1; mode=block}{Date: Sun, 26 Oct 2014 05:47:09 GMT}{Alternate-Protocol: 80:quic,p=0.01}
    

    Would spoofying the User-agent string solve this?

    JH

    opened by johnhamelink 6
  • Toggle for

    Toggle for "sys images"

    Most of the interactions are for deselecting images, here. If this is implemented, no conflict with the way they come in packaged in updates. Thanks

    opened by soundmasteraj 0
  • Any way to force sdk download to be https?

    Any way to force sdk download to be https?

    Is there a way to use https://dl.google.com/android/ instead of http://dl.google.com/android/?

    Our app-proxy doesn't require authentication if you use https, but does for http. I would prefer to not create an app specific id for our proxy if I don't need to.

    opened by WesleyLemke 0
  • If ANDROID_HOME or local.properties are set, SDK not downloaded, even if not present

    If ANDROID_HOME or local.properties are set, SDK not downloaded, even if not present

    I'm trying to put my gradle build inside container. I want to redirect the download of the SDK manager to a specific folder. So I set ANDROID_HOME without anything inside.

    When I run the gradlew, It not download the SDK because the ANDROID_HOME is set. Even if only .android-sdk exists but empty.

    Is i a way to specify where to download android-sdk?

    Thank

    opened by jgsqware 0
  • Add support for transitive dependencies from dependent libraries

    Add support for transitive dependencies from dependent libraries

    Hi, I've noticed that the following scenario isn't supported: If project A depends on 3rd party dependency B, And B depends on a missing SDK dependency (Google/Support library dependency). The missing dependency isn't being installed automatically.

    opened by ramib85 0
  • Android build tools version 23.0.2 not being downloaded.

    Android build tools version 23.0.2 not being downloaded.

    When I run my script using Android build tools version 23.0.2 I get the following output:

    D:\TestApplication>gradlew
    Android SDK not found. Downloading...
    SDK extracted at 'C:\Users\Developer\.android-sdk'. Writing to local.properties.
    Build tools 23.0.2 missing. Downloading...
    Platform tools missing. Downloading...
    Compilation API android-23 missing. Downloading...
    Support library repository missing. Downloading...
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring project ':app'.
    > failed to find Build Tools revision 23.0.2

    If I run the script with debug option I get the following:

    11:57:59.134 [DEBUG] [com.jakewharton.sdkmanager.internal.PackageResolver] Build tools version: 23.0.2
    11:57:59.146 [LIFECYCLE] [com.jakewharton.sdkmanager.internal.PackageResolver] Build tools 23.0.2 missing. Downloading...
    11:58:01.020 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Refresh Sources:
    11:58:01.042 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
    11:58:02.784 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML
    11:58:02.813 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML
    11:58:02.822 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetched Add-ons List successfully
    11:58:02.824 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Refresh Sources
    11:58:02.824 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/repository-10.xml
    11:58:03.206 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/repository-10.xml
    11:58:03.301 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/repository-10.xml
    11:58:03.390 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
    11:58:03.896 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
    11:58:03.954 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/addon.xml
    11:58:03.960 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
    11:58:04.518 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
    11:58:04.532 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
    11:58:04.533 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
    11:58:05.091 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
    11:58:05.103 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
    11:58:05.103 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    11:58:05.686 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    11:58:05.697 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
    11:58:05.698 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    11:58:06.340 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    11:58:06.374 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
    11:58:06.396 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    11:58:06.955 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    11:58:06.970 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
    11:58:06.974 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    11:58:07.483 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    11:58:07.495 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
    11:58:07.497 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
    11:58:08.091 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
    11:58:08.106 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
    11:58:08.109 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    11:58:08.682 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    11:58:08.693 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]   Parse XML:    https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
    11:58:08.771 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Error: Ignoring unknown package filter 'build-tools-23.0.2'
    11:58:08.772 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real] Warning: The package filter removed all packages. There is nothing to install.
    11:58:08.772 [DEBUG] [com.jakewharton.sdkmanager.internal.AndroidCommand$Real]          Please consider trying to update again without a package filter.

    Can you shed some light? Thanks!

    opened by alfoksGT 9
Owner
Jake Wharton
Jake Wharton
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
Ownership-gradle-plugin - Gradle code ownership verification plugin

Gradle code ownership verification plugin A gradle plugin that will verify owner

null 4 Dec 15, 2022
Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Central, Corporate staging/snapshot servers and local Maven repositories).

GradleMavenPush Helper to upload Gradle Android Artifacts, Gradle Java Artifacts and Gradle Kotlin Artifacts to Maven repositories (JCenter, Maven Cen

 Vorlonsoft LLC 21 Oct 3, 2022
Gradle plugin which helps you analyze the size of your Android apps.

Ruler Ruler is a Gradle plugin which helps you analyze the size of your Android apps. Motivation App size is an important metric which directly correl

Spotify 913 Dec 28, 2022
Gradle plugin which validates the licenses of your dependency graph match what you expect

Licensee ?? ?? A Gradle plugin which validates the licenses of your dependency graph match what you expect, or it fails your build! Jump to: Introduct

Cash App 506 Jan 8, 2023
A Gradle plugin for providing your secrets to your Android project.

Secrets Gradle Plugin for Android A Gradle plugin for providing your secrets securely to your Android project. This Gradle plugin reads secrets from a

Google 560 Jan 8, 2023
GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.

Gradle Play Publisher Gradle Play Publisher is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and

null 3.9k Dec 30, 2022
Add a different ribbon to each of your Android app variants using this gradle plugin. Of course, configure it as you will

Easylauncher gradle plugin for Android Modify the launcher icon of each of your app-variants using simple gradle rules. Add ribbons of any color, over

Mikel 960 Dec 18, 2022
A powerful Gradle Plugin to help you demonstrate your android app

English | 简体中文 sample-gradle-plugin ?? A powerful Gradle Plugin to help you demonstrate your android app. We often write demo applications that contai

Yoo Zhou 12 Nov 5, 2022
A Gradle plugin to report the number of method references in your APK on every build.

Dexcount Gradle Plugin A Gradle plugin to report the number of method references in your APK, AAR, or java module. This helps you keep tabs on the gro

Keepsafe 3k Dec 29, 2022
K6-intellij-plugin - IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your IntelliJ IDE

IntelliJ-based Plugin to run k6 tests locally or in the k6 Cloud from your Intel

Mikhail Bolotov 8 Jan 2, 2023
CKlib is a gradle plugin that will build and package C/C++/Objective-C code for Kotlin/Native.

C Klib CKlib is a gradle plugin that will build and package C/C++/Objective-C code for Kotlin/Native. The Problem When you want to access C-etc code f

Touchlab 73 Nov 8, 2022
A gradle plugin to optimize built jars through individual file optimizations and increased compression

Machete Machete is a gradle plugin that attempts to optimize the size of output JARs through both individual file optimizations and overall compressio

Silver 9 Nov 2, 2022
A Gradle plugin to support the Groovy language for building Android apps

Groovy language support for Android Deprecated: This plugin has been deprecated in favor of Kotlin which has the full support of JetBrains and Google.

Groovy programming language 853 Dec 21, 2022
A Gradle Plugin that removes unused resources in Android projects.

#Lint Cleaner Plugin Removes unused resources reported by Android lint including strings, colors and dimensions. Depracated As of Android Studio 2.0+

Marco RS 705 Nov 25, 2022
Gradle plugin for Google Protocol Buffers

Gradle Protobuf Plugin Author: Andrew Kroh Download: See maven central License: Apache License, Version 2.0 Requirements: Java 1.5+ Google Protocol Bu

Andrew Kroh 36 May 29, 2022
IntelliJ plugin that provides some useful utilities to support the daily work with Gradle.

IntelliJ Gradle Utilities Plugin This IntelliJ plugin provides some useful utilities to support the daily work with Gradle. It's available on the offi

Marcel Kliemannel 6 Jul 29, 2022
Gradle plugin to use git tags as project version names

Version Name Gradle Plugin This plugin adds a kotlin extension function that provides a version name based on the latest git tag. How to use it ?? App

Doist 3 Mar 9, 2022