Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 824 Bytes

nuget-integration.md

File metadata and controls

30 lines (24 loc) · 824 Bytes

Nuget package dependencies can be specified just like any other module dependency after the nuget plugin has been applied:

apply plugin: 'nuget'

dependencies {
  net35 'Rx-Core-old:System.Observable:1.0.2856.0'
}

Upon dependency resolution any missing nuget packages are downloaded and unpacked to ~/.kaizen/nuget/packages. The required assemblies are packed into kaizen/ivy modules as needed.

Specific framework versions of the assemblies can be requested through the configuration attribute:

dependencies {
  net40(
    group: 'ICSharpCode.NRefactory',
    name: 'ICSharpCode.NRefactory',
    version: '5.3.0',
    configuration: 'net40') // lib/net40/ICSharpCode.NRefactory.dll
}

Transitive dependencies are not handled at this point so they have to be explicitly specified.