Skip to content

Groovy source code dependency manager. Similar to @grab annotation for grapes, it provides a @SourceGrab annotation that allows using Groovy source code automatically downloaded and updated from Git.

License

Notifications You must be signed in to change notification settings

andresviedma/sourcegrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sourcegrape

Groovy source code dependency manager. Similar to @Grab annotation for grapes, it provides a @SourceGrab annotation that uses source code automatically downloaded and updated from Git.

Example of use:

// Load SourceGrape artifact from the Maven repo
@Grab('com.sourcegrape:sourcegrape')
import com.sourcegrape.*

// Load the sample source, including the dummy TestClass class
@SourceGrab('https://github.com/andresviedma/groovy-assets-directory-example.git')

// Is TestClass there?
TestClass test = new TestClass()
test.helloWorld()

About

Groovy source code dependency manager. Similar to @grab annotation for grapes, it provides a @SourceGrab annotation that allows using Groovy source code automatically downloaded and updated from Git.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages