Skip to content

ngyewch/gradle-dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradle Dart Plugin

Provides Gradle integration for Dart projects.

Forked from steineggerroland/gradle-dart

Example usage

plugins {
    id 'com.github.ngyewch.dart' version '0.3.0'
}

Available gradle tasks

  • pubGet (resolves dependencies with pub get)
  • pubUpgrade (upgrade project with latest versions of dependencies with pub upgrade)
  • pubBuild (build project)
  • pubServe (start a development server for your webapp)
  • pubPublish (publishes the project with pub publish)
  • analyseDart (alayses files in source folder)
  • testDart (executes tests in test folder)

Available settings

  • dartSdkHome / dartSdkBin

    • Default: empty string or 'DART_SDK' environment variable
    • Used for execution of dart commands. Set 'dartSdkHome' or 'dartSdkBin' if you don't have the dart sdk bin in your path variables.
  • commandLineParameters

    • Default: empty set
    • Additional parameters for command execution.
  • pubspecDirectory

    • Default: Project directory (Location of build.gradle)
    • Directory of 'pubspec.yaml' file.
  • sourceDirectory / relativeSourceDirectory

    • Default: $ProjectDirectory$/lib/src (according to preferred project structure)
    • Needed for analysing source files. The path can be set relative to the project directory.
  • analysePackagesFolders

    • Default: false
    • Define whether packages folder shall be analysed.
  • testDirectory / relativeTestDirectory

    • Default: $ProjectDirectory$/test (according to preferred project structure)
    • Needed for executing tests. The path can be set relative to the project directory.
  • testPackagesFolders

    • Default: false
    • Define whether packages folder shall be tested.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Groovy 100.0%