gradle-plugin Questions
2
Solved
The typical Kotlin configuration in a Gradle project is very boilerplate, and I'm looking for a way of abstracting it out into an external build script so that it can be reused.
I have a working s...
Mysticism asked 24/8, 2016 at 8:10
1
Solved
I have two tasks Task-A and Task-B
This is my Task-A
task Task-A () {
doLast {
def fileName = _.property('fileName')
if (fileName !=null) {
println 'success'
}
}
}
My Task-B is dependent ...
Statuary asked 5/10, 2018 at 14:28
2
I am getting following error in Android Studio 2.3.2 when i am trying to create Empty Activity project. I also getting this when i try to import a project.
Error:Cause: unable to find valid certif...
Stealer asked 25/5, 2017 at 17:58
1
I am trying to migrate a gradle plugin from groovy to kotlin. I have a boolean Property that I would like to initialize to false in my plugin extension:
open class MyPluginExtension(project: Proje...
Anabolite asked 6/12, 2017 at 8:6
4
Solved
The problem is that the Gradle plugin in Intellij IDEA doesn't work with my project. If I use "Gradle build" in the command line it works perfectly but if I try to build the project with the Gradle...
Moulton asked 3/9, 2016 at 9:53
2
Solved
I build debug app use gradlew as in google tutorial https://developer.android.com/training/basics/firstapp/running-app.html
I was created project use
android create project --target 2 -g -v 2.9--...
Cons asked 23/11, 2015 at 20:8
6
Solved
I have the following gradle files and I can't find anything which would still warrant the warning "Configuration 'compile' is obsolete and has been replaced with 'implementation'."
First Module Gr...
Unclothe asked 5/2, 2018 at 13:3
1
I have spring boot application packaged as executable jar. Application has one utility class with main method which I want to invoke through command line but it seems that command is unable to find...
Brunet asked 16/5, 2018 at 9:52
1
I try to publish a library to a private S3 maven repository. The upload is guarded by a password, but for download the library is open for public. The aar file uploads without issues (along with po...
Tortile asked 11/6, 2018 at 13:0
2
Solved
Is there a difference except that:
apply from: - gets the (plugin).gradle from a URL
apply plugin: - gets the (plugin).gradle from the gradle plugin server
Incardinate asked 31/3, 2015 at 20:46
1
Solved
I want to pass username, password and url liquibase parameters as a command line parameters to gradle's liquibase update task.
I have followed liquibase-gradle-plugin to configure the plugin.
What...
Arther asked 15/5, 2018 at 9:58
1
I have a JAX-RS project which have jetty plugin in gradle. I want to replace jetty plugin with gretty as jetty is not supported in gradle 4 and other versions. I get following errors while running ...
Thormora asked 1/5, 2018 at 16:10
3
i want to use checkstyle plugin in my gradle project, the gradle documentation says that it will add a few tasks:
https://docs.gradle.org/current/userguide/checkstyle_plugin.html
checkstyleMain, c...
Linnette asked 24/11, 2017 at 19:26
1
Solved
i use jacoco plugin for gradle:
apply plugin: 'kotlin'
jacoco {
toolVersion = "0.7.9"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
csv.enabled false
}
}
and then i w...
Aweinspiring asked 15/3, 2018 at 10:1
0
When using Maven with a multi-module project I can simply add the Sonar plugin to the parent POM:
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>so...
Solmization asked 19/2, 2018 at 12:35
2
Solved
We are migrating from Android Gradle plugin 2.3.3 to Gradle plugin 3.0.1. Our application consists of an Application module and a Library module. Several dependencies are transitive (connected usin...
Selfexistent asked 18/1, 2018 at 4:58
1
Gradle build command from terminal finishes in less than a minute but doing a refresh/sync on Intellij IDE taken 15 to 30 minutes. Tried to change the memory (-Xmx) to different levels 1g, 2g,3g up...
Roderic asked 5/1, 2018 at 1:9
2
Solved
Updated to Android Studio 3.0.0 with new android gradle plugin.
While buildin project got message:
What went wrong:
Execution failed for task `':app:externalNativeBuildDebug'`.
Expected output fi...
Risley asked 1/11, 2017 at 9:12
2
I am writing a custom Gradle plugin. I am writing tests for every feature that I want to create in the plugin.
I am using java to write the plugin.
I create my tasks in the apply method inherited ...
Bosh asked 16/9, 2016 at 13:40
2
Solved
When I'm trying to use Android Gradle Plugin 3.0.+ with Intellij IDEA, I'm getting error: Error:This Gradle plugin requires Studio 3.0 minimum
But my version of IntelliJ is higher than 2017.2 and ...
Gomes asked 8/10, 2017 at 18:50
1
Solved
Once I updated my app to gradle plugin 3.0.0 I started having issue with multidex, but only when I run androidTest.
My app was already multidex and with gradle plugin 2.3.3 both assembleDebug and ...
Placative asked 15/11, 2017 at 14:15
1
Solved
What does exactly adding apply plugin: 'com.google.gms.google-services' do? If I comment this, my app still will compile and run. More about adding Firebase to the project here.
Fab asked 10/11, 2017 at 21:59
2
Solved
I am trying to update Gradle to version 4.1 (or 4.3). As the current version is 2.14.1
I have tried almost everything, but Gradle just won't update. Have checked settings, repository, dependency, e...
Spirelet asked 3/11, 2017 at 11:19
1
Let's say I have a multi-module gradle project with two gradle modules, :A and :B.
.
├── :A
│ └── build.gradle
├── :B
│ └── build.gradle
├── build.gradle (plugin applied here)
└── settings.gr...
Yukoyukon asked 22/9, 2017 at 18:12
3
Solved
I'm using android studio 2.4, And getting this error. Apparently I have to update my android plugin, but when I checked jcenter for new versions the only version
available was 2.5.0-alpha-preview-...
Shaunna asked 1/6, 2017 at 7:29
© 2022 - 2024 — McMap. All rights reserved.