Skip to content

A minimal complete verifiable example of reading from resources seemingly not working from a precompiled script Gradle plugin

Notifications You must be signed in to change notification settings

Jasz/gradle-plugin-resource-mcve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A minimal complete verifiable example of reading from resource seemingly not working from a precompiled script Gradle plugin.

To reproduce:

  1. In the convention-plugins project run gradle publishToMavenLocal.
  2. In the service project run gradle resourceFromNormalPlugin: this should print text to print from resource.txt.
  3. In the service project run gradle resourceFromScriptPlugin: this should also print text to print but instead fails because javaClass.getResource("/resource.txt") is null.

About

A minimal complete verifiable example of reading from resources seemingly not working from a precompiled script Gradle plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages