gradle-plugin Questions
1
I upgraded to Android studio version 3.0 Canary 8 and followed the auto-prompt on Android studio to upgrade the android gradle plugin version to "3.0.0-alpha8".
My Jenkins build now fails to resol...
Bega asked 25/7, 2017 at 1:46
1
While trying to upgrade some of our scripts to Gradle 4.0.1 on of the plugins we are using is failing and I thought of fixing that plugin first. The plugin is a third party open source project.
So...
Superaltar asked 21/7, 2017 at 23:7
2
Is there a way to reset the default gradle and plugin, without resetting all my settings, so I don't keep having these errors when creating new projects?
Error: Plugin is too old, please update ...
Shedd asked 25/1, 2016 at 4:7
3
Solved
I'm building a gradle plugin in which I want to give users the ability to override some properties from an external file.
I'm using the Spring propertyPlaceholderConfigurer in order to set a few de...
Nadaba asked 28/6, 2017 at 8:17
3
Solved
I started getting this errors about
**InvalidPackage: Package not included in Android**
../../../../../../../.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.6.0/98476622f10715998eacf...
Matilda asked 18/2, 2016 at 20:57
1
Solved
I need to modify the start script that gradle generates for the distTar task. I seem to be able to set unixStartScriptGenerator.template as shown below, but when I unpack the script from the tar my...
Est asked 11/5, 2017 at 20:33
1
I am writing a custom plugin and to test it, I want to inject mock implementations. It is not just for testing but from API perspective too, I want to inject different implementations depending on ...
Fragrance asked 11/9, 2015 at 19:27
2
Solved
I want to have the following working gradle script for arbitrary language foo:
sourceSets {
main {
java {
srcDir "${project.buildDir}/generated-sources/gen-java"
}
foo {
srcDir "${project.bu...
Gilmagilman asked 4/2, 2017 at 12:47
3
My build have recently stopped working for an open source gradle/android project. They've been working just fine until today (Oct 10 2016). I run a build matrix across multiple versions (on travis)...
Gudrun asked 11/10, 2016 at 0:15
2
Solved
How can I provide an optional property for task?
class CustomTask extends DefaultTask {
@Input
Closure preconfig
// ...
}
This way obligates user to provide preconfig closure as parameter ...
Papilloma asked 10/1, 2017 at 10:5
2
Solved
I am using Android Studio 2.2 and have setup Gradle to build c/c++ sources with NDK via CMake.
Now I would like to disable NDK build for buildType "debug". For buildType "release" I would like to ...
Braque asked 22/12, 2016 at 9:58
1
Error:Execution failed for task ':app:compileDebugNdk'.
Error: Your project contains C++ files but it is not using a supported native build system.
Consider using CMake or ndk-build integ...
Transmitter asked 7/11, 2016 at 9:10
5
Solved
I was syncing fine and then suddenly when I tried to run a test on a device from Android Studio I started getting the error:
Error:(1, 0) Plugin is too old, please update to a more recent version...
Peptide asked 30/12, 2015 at 15:25
5
I am getting gradle issue .
here is below issue in gradle message, while doing sync in gradle
Our Android Studio version is 2.1.2.
Error:A problem occurred configuring project ':LetMeCall_Store...
Headset asked 30/9, 2016 at 5:25
2
After updating Android Studio to version 2.2 I also got an update for the Gradle Plugin (it was 2.1.3):
...
classpath 'com.android.tools.build:gradle:2.2.0'
...
I see the unaligned variant APK f...
Chimaera asked 20/9, 2016 at 10:6
1
Solved
I trying to set up caching of npm packages. This is my plugin configuration:
node {
version = '4.5.0'
npmVersion = '3.10.6'
distBaseUrl = 'https://nodejs.org/dist'
download = true
workDir = ...
Shoop asked 22/8, 2016 at 13:22
1
I'm creating gradle custom plugin and one of my tasks needs to be sure that another plugin applied to same project. Because it will operate on top of it.
I want for users of my plugin to avoid set...
Eldridge asked 14/9, 2016 at 14:49
1
Solved
Hello guys I desire to use lamba functions available on Java8, hence I had to apply new toolchain Jack. Unfortunatelly when I did some unexpected error arise. Namely:
Could not get unknown prope...
Muricate asked 4/8, 2016 at 14:36
2
I am integrating fire-base to my existing project used these libs
compile 'com.google.firebase:firebase-auth:9.0.2'
compile 'com.google.firebase:firebase-database:9.0.2'
compile 'com.google.andro...
Subjectify asked 13/6, 2016 at 12:7
1
Solved
I'm using Android Studio (itellij) IDE and the built-in support for Git as VCS.
Is there any hook / option to predicate submitting the commit on a successful run of some gradle task. As you may su...
Mousse asked 16/7, 2016 at 22:12
1
Solved
I'm pretty new to working with Gradle and I'm trying to develop a plugin that helps manage version numbering. This plugin defines a task that sets the project.version property of the project it's a...
Enteritis asked 29/12, 2014 at 2:24
1
Environment : Android Studio 2.1
Project : Android SDK + Cordova
Android Studio throws the following error during Gradle Sync :
Gradle sync failed: 'com.android.build.gradle.BasePlugin' does no...
Fechner asked 28/4, 2016 at 21:10
1
Solved
I've recently updated Android Studio to 2.0. I am working on a part time course and I have to work on a project provided. When gradle tried to build the project a dialog popped up asking me to upda...
Original asked 16/4, 2016 at 15:30
1
Solved
I have an Android project that worked perfectly with pre-gradle:2.1.0-alpha3 versions. Now it's throwing these kinds of errors with no clue of how to resolve them:
Error:Execution failed for task ...
Ibo asked 2/4, 2016 at 20:22
0
I have a grails 3.1.x project with lots of controllers and I use spock for testing the controllers.
I use a command pattern for my controllers so each action takes a command object.
An example fo...
Heald asked 11/2, 2016 at 14:59
© 2022 - 2024 — McMap. All rights reserved.