com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2...
I’m still suffered from the issue. @ho-dragon Gradle version I’m using to build is 5.6.1. I replaced Unity’s default Gradle(5.1.1) to 5.6.1 version, but still get the same error. I’ve tried many...
View Articlecom.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2...
I am using Jenkins. I also suspect the Jenkins Unity plugin. I am trying various things to solve the problem. I’ll let you know if you find it.
View Articlecom.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2...
I have found a solution. But I don’t know if this solution is perfect. Open the ‘mainTemplate.gradle’ file in a text editor and change build.gradle3.4.0 version to 3.2.0. ‘mainTemplate.gradle’ Path is...
View Articlecom.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2...
I set the classpath value as you wrote above, but still it emit the same error. Anyway thanks to your advice @ho-dragon Besides your solution, I found another solution to fix the issue. In my Unity...
View ArticleCheckstyle plugin: is "cacheFile" property supported?
Does checkstyle cachefile save any time in gradle?
View ArticleProjectBuilder not applying plugins nor repositories
I am trying to use ProjectBuilder to test my custom plugin which applies Maven authentication credentials (from ~/.m2/settings). However, after using ProjectBuilder to build a Project that Project...
View ArticleProjectBuilder not applying plugins nor repositories
Your expectation sounds suspect. The ProjectBuilder should yield an instance that implements the Project interface which you can then work with to test your plugin. You need to execute code that adds...
View ArticleWhen should the task annotations be used?
There are several task annotations. https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:task_input_output_annotations See table 1 @Input @InputFile @InputDirectory etc. Should these be...
View ArticleLimitations of Gradle source dependencies
I’m using: sourceControl { gitRepository('ssh://git@{GIT_HOST]/[ORG]/[REPO].git') { producesModule('[GROUP]:[NAME]') } } Also be sure there’s an entry in your ~/.ssh/config corresponding to a public...
View ArticleProjectBuilder not applying plugins nor repositories
I see. I had thought that org.gradle.testfixtures.ProjectBuilder#withProjectDir read the build.xml from that directory, but as you point out that is not accurate. Thanks
View ArticleChange group of my plugins
Hello! Admins of Plugin Portal could you please help me? I have changed the hosting of my plugins and need to change a group of plugins. I have published my plugins in a new group but they still under...
View ArticlePlugin development abstract class and property
In the Gradle User Manual, in the description of how to write tasks, the task and properties are concrete. When Incremental Tasks are introduced the IncrementalReverseTask example is abstract except...
View ArticlePlugin development abstract class and property
The feature for generating the implementation of properties is called “managed properties” and is documented in the user manual.
View ArticleCanonical way to output id string of Dependency/Artifact?
I have a plugin which does some dependency analysis (looking for implicit and unused dependencies, among other things). I’ve been using...
View ArticleProjectBuilder not applying plugins nor repositories
The plugin I am trying to test uses Project#afterEvaluate. #afterEvaluate does not seem to be triggered for me. Or maybe it is triggered during ProjectBuilder#build which is unfortunately too early if...
View ArticleCanonical way to output id string of Dependency/Artifact?
Side note - the reason I started down this path is that I discovered the hard way that ResolvedDependency (from which you get ResolvedArtifact) does not have an identifier that hashes correctly to...
View ArticleTesting dependency resolution with capabilities via TestKit
Hi, After seeing capabilities mentioned in the 6.0 rc1 release notes, I started on a little plugin to provide capabilities for various slf4j-related dependencies so that common issues like including...
View ArticleProjectBuilder and Project#afterEvaluate hooks
Following up on ProjectBuilder not applying plugins nor repositories, I have problems testing my plugin that relies on Project#afterEvaluate hooks it adds. Is there a way to trigger afterEvaluate...
View ArticleGradle Enterprise 2019.3.4 has been released
Gradle Enterprise 2019.3.4 is now available. Please see the release notes for more information.
View ArticleTesting dependency resolution with capabilities via TestKit
It looks dependencies aren’t resolved unless there is at least one source file to compile, so adding a hello world class now lets me at least assert that lines for rejected modules are in the output....
View Article