Skip to content

veysby/gradle-nuget-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle NuGet Plugin

This plugin allows to execute NuGet.exe from a gradle build. It also supports pack & push commands through built-in tasks nugetPack & nugetPush.

nugetPack

You can see this plugin being used for real on il-repack project. (together with msbuild one)

Sample usage:

buildscript {
    repositories {
      mavenCentral()
    }

    dependencies {
        classpath "com.ullink.gradle:gradle-nuget-plugin:1.1"
    }
}

apply plugin:'nuget'

nuget {
	// this Closure will be applied to the nuspec XMLBuilder
	nuspec {
		metadata() {
			id archivesBaseName
			delegate.version version
		    title 'project title'
		    authors 'Francois Valdy'
		    delegate.description '''some looong description...'''
		    // ...
		}
		delegate.files() {
			delegate.file(src: 'somefile', target: 'tools')
		}
	}
}

License

All these plugins are licensed under the Creative Commons — CC0 1.0 Universal license with no warranty (expressed or implied) for any purpose.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published