GithubHelp home page GithubHelp logo

florian-gandon / gradle-pdbindex-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itiviti/gradle-pdbindex-plugin

0.0 1.0 0.0 65 KB

Gradle plugin to run PDB indexing on debug files

License: Apache License 2.0

Groovy 100.00%

gradle-pdbindex-plugin's Introduction

Gradle PdbIndex Plugin Build status Build Status

This plugin aims at working things around PDBs, mainly source indexing.

Below tasks are provided by the plugin:

sourceLink

Sample usage:

buildscript {
    repositories {
      mavenCentral()
    }

    dependencies {
        classpath "com.ullink.gradle:gradle-pdbindex-plugin:0.9"
    }
}

apply plugin:'pdbindex'

// this task will execute SourceLink on the generated asembly, for PDB indexing
sourceLinkIndexing {
  // directory where SourceLink.exe can be found
  // Note that you may use gradle nuget plugin together with a nuget install task to download it
  // You may also add it to your project nuget dependencies, and reference it from there
  sourcelinkDir = "${sourcelinkNugetInstall.outputDirectory}/SourceLink/tools"

  // project (e.g. csproj) to pass to SourceLink, defaults to pdbindex.mainProject if not set
  projectFile = msbuild.mainProject?.projectFile

  // git viewer raw URL, use '{0}' placeholder for GIT commit (SHA1) and '%var2%' for file path
  // Note that because of SRCSRV limitations, the url may not contain non-valid-windows-path characters (e.g. '?' won't work)
  url = "http://my-git-server/${project.name}/%var2%/raw/{0}"

  // some other defaults, overwrite if needed, look for the param meaning in SourceLink
  verifyGit = false
  verifyPdb = true
  repo = project.rootDir
}

See also

Gradle Msbuild plugin - Allows to build VS projects & solutions.

Gradle NuGet plugin - Allows to restore NuGet packages prior to building the projects with this plugin, and to pack&push nuget packages.

Gradle NUnit plugin - Allows to execute NUnit tests from CI (used with this plugin to build the projects prior to UT execution)

Gradle OpenCover plugin - Allows to execute the UTs through OpenCover for coverage reports.

You can see all these plugins in use on ILRepack project (build.gradle).

License

All these plugins are licensed under the Apache License, Version 2.0 with no warranty (expressed or implied) for any purpose.

gradle-pdbindex-plugin's People

Contributors

gluck avatar timotei avatar

Watchers

Florian Gandon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.