Reproducer for a cacheability problem in the cacheable ShadowJar task

Overview

ShadowJar task cacheability reproducer

Reproducer for a cacheability problem in the cacheable ShadowJar task, in which the task is considered up-to-date when it should not be. When the set of exclusions is changed for the task's CopySpec, the task should no longer be considered up-to-date. Currently though, the task is considered up-to-date.

In build.gradle.kts there is a walk-through for reproducing the problem. It's repeated here:

/**
 * Reproducer Guide:
 *
 * This task's input fingerprint should change when the set of excludes changes.
 *
 * Try:
 * 1. Run `./gradlew shadowJar`. You should see `2 actionable tasks: 2 executed`.
 * 2. Re-run. You should see `2 actionable tasks: 2 up-to-date`.
 * 3. Uncomment the first line in the ShadowJar task configuration block.
 * 4. Re-run. You'll see the log line, and (incorrectly) `2 actionable tasks: 2 up-to-date`.
 * 5. Re-comment the first line in the ShadowJar task configuration block, and uncomment the second line.
 * 6. Re-run. As before, you'll see the log line and (incorrectly) `2 actionable tasks: 2 up-to-date`.
 *
 * Reset with `./gradlew clean`.
 */
You might also like...
Native solution for common React Native problem of focused views being covered by soft input view.

react-native-avoid-softinput Native solution for common React Native problem of focused views being covered by soft input view. It is solved by listen

Fix for HotSpot deep stack problem

Fix for HotSpot deep stack problem Java HotSpot C2 compiler has a problem with deeply recursive functions. For a discussion of the problem see https:/

A programming problem solution

SqRtOfProductTree A programming problem solution Problem The blocks in the diagram below are arranged so that the value in each block is the square ro

Application to solve a personal problem, which was the wish to have a simple app that handles a market list with prices, quantity and total price
Application to solve a personal problem, which was the wish to have a simple app that handles a market list with prices, quantity and total price

Market List Application that handles a market list offline in device's storage system. The list can be just pasted in a big edit text field and the ap

BOJ PS - Solution of BOJ Problem
BOJ PS - Solution of BOJ Problem

BOJ_1009 분산처리 https://www.acmicpc.net/problem/1009 10개의 컴퓨터 그리고 N개의 데이터가 있을 경우 1

A non-linear problem solver using automatic differentiation and penalty methods.

HelixOptimizer Join the discord and contribute! https://discord.gg/kqe74EER A non-linear problem solver using automatic differentiation and penalty me

Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems
Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems

Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems. Medich has a Donation feature that will be very useful for the Community

An Android percentage chart that displays the progress of any single given task or information.
An Android percentage chart that displays the progress of any single given task or information.

Percentage Chart View A Java-based easy to use and highly adjustable custom view that displays the progress of a single given task. Please feel free t

Gradle plugin adding a task to run a Paper Minecraft server

Run Paper Run Paper is a Gradle plugin which adds a task to automatically download and run a Paper Minecraft server along with your plugin built by Gr

Take beautiful markdown notes and stay organized with task lists.
Take beautiful markdown notes and stay organized with task lists.

Take beautiful markdown notes whenever you feel inspired. Place them in notebooks and tag them accordingly. Stay organized by making task lists, set reminders and keep everything in one place by attaching related files.

A small application for working with the Github API, made as a practical task. GeekBrains, course of study: Popular libraries: RxJava 2, Dagger 2, Moxie.
A small application for working with the Github API, made as a practical task. GeekBrains, course of study: Popular libraries: RxJava 2, Dagger 2, Moxie.

GeekBrains_Course_AndroidOnKotlin_HW_My_Movie Домашнее задание к занятию №2-6 Студента GeekBrains Веремеенко Дмитрия Факультет: Android-разработки Кур

A lightweight task progress calendar view library for Android
A lightweight task progress calendar view library for Android

A lightweight task progress calendar view library for Android

An intelligent diff tool for the output of Gradle's dependencies task

Dependency Tree Diff An intelligent diff tool for the output of Gradle's dependencies task which always shows the path to the root dependency. +--- c

Demonstration of a StrandHogg attack via the task switcher
Demonstration of a StrandHogg attack via the task switcher

StrandHogg attack recents App under attack android:launchMode="singleTask" Attacker app android:launchMode="singleTask" android:taskAffinity="com.exam

This is a code check task for Android engineers employment in YUMEMI.
This is a code check task for Android engineers employment in YUMEMI.

株式会社ゆめみ Android エンジニアコードチェック課題 概要 本プロジェクトは株式会社ゆめみ(以下弊社)が、弊社に Android エンジニアを希望する方に出す課題のベースプロジェクトです。本課題が与えられた方は、下記の概要を詳しく読んだ上で課題を取り組んでください。 アプリ仕様 本アプリは

Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mic)
Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mic)

Speech-Text Converter About Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mi

An example of a test task for creating a simple currency converter application for the Android platform. The app is developed using Kotlin, MVI, Dagger Hilt, Retrofit, Jetpack Compose.
An example of a test task for creating a simple currency converter application for the Android platform. The app is developed using Kotlin, MVI, Dagger Hilt, Retrofit, Jetpack Compose.

Simple Currency Converter Simple Currency Converter Android App by Isaev Semyon An example of a test task for creating a simple currency converter app

Solution for task 5 on Spring Boot https://t.me/try2py/197

IouRestService (Spring Boot Application) Решение задачи 5 https://t.me/try2py/197 Условие задачи: Четверо соседей по комнате имеют привычку занимать д

Netguru Android: Recruitment CR task

Netguru Android: Recruitment CR task

Owner
Rob Moore
I like making tools. He/him
Rob Moore
Netguru Android: Recruitment CR task

Netguru Android: Recruitment CR task Prerequisites Things that you need to have before starting working with a project. Your git provider (Github, Git

Adam Świderski 0 Nov 19, 2021
Netguru Android: Recruitment CR task

Netguru Android: Recruitment CR task Prerequisites Things that you need to have before starting working with a project. Your git provider (Github, Git

Piotr Górny 0 Nov 28, 2021
Android StrandHogg Task Injection POC

Android StrandHogg Task Injection POC This project demonstrates how StrandHogg task injection works.

Arsalan Diponegoro 9 Dec 14, 2022
Recruitment Task App - record time which a user spends on tasks defined by himself

Recruitment-Task The purpose of this application is to record time which a user spends on tasks defined by himself. The user can add new tasks. New ta

Sylwester Zieliński 0 Feb 9, 2022
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 1k Jan 1, 2023
Minimal example of how to safely share a file produced by a task in one project, with a task in another project.

How to share files across Gradle subprojects: A minimal example This is the Gradle project: . ├── producer │ └── build.gradle.kts ├── consumer │ └

Rob Moore 2 Dec 17, 2021
Flixbus-task - Android Coding Task from FlixBus

FlixBus Coding Task Features Fetch timetables from FlixBus service Show fetched

Ali Ansari 0 Jan 23, 2022
Task Timer - An android app that helps you to keep a track of how much time you spend on each task

Task Timer - An android app that helps you to keep a track of how much time you spend on each task

Hassan Al-Shammari 1 Feb 24, 2022
Way to set heartbeat interval and the User receive PushNotifications from GCM. Based on related post in Google Forums about HeartBeat problem.

AndroidHeartBeatFixer Way to set heartbeat interval and the User receive PushNotifications from GCM. Based on a Google Forums post about HeartBeat pro

João Pedro Nardari dos Santos 58 Jun 15, 2021
Expand your view with no problem ;)

MaryPopup Expand your view with no problem ;) Usage Open marypopup from a view MaryPopup marypopup = MaryPopup.with(context) .

Meetic 925 Nov 29, 2022