Sonar Dart

A Dart SonarQube plugin compatible with SonarQube 8.x.

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

com.clientoutlook.sonar
Идентификатор

Идентификатор

dart
Последняя версия

Последняя версия

1.0.3
Дата

Дата

Тип

Тип

pom
Описание

Описание

Sonar Dart
A Dart SonarQube plugin compatible with SonarQube 8.x.
Ссылка на сайт

Ссылка на сайт

https://github.com/clientoutlook/sonar-dart
Система контроля версий

Система контроля версий

https://github.com/clientoutlook/sonar-dart

Скачать dart

Имя Файла Размер
dart-1.0.3.pom 6 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.clientoutlook.sonar/dart/ -->
<dependency>
    <groupId>com.clientoutlook.sonar</groupId>
    <artifactId>dart</artifactId>
    <version>1.0.3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.clientoutlook.sonar/dart/
implementation 'com.clientoutlook.sonar:dart:1.0.3'
// https://jarcasting.com/artifacts/com.clientoutlook.sonar/dart/
implementation ("com.clientoutlook.sonar:dart:1.0.3")
'com.clientoutlook.sonar:dart:pom:1.0.3'
<dependency org="com.clientoutlook.sonar" name="dart" rev="1.0.3">
  <artifact name="dart" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.clientoutlook.sonar', module='dart', version='1.0.3')
)
libraryDependencies += "com.clientoutlook.sonar" % "dart" % "1.0.3"
[com.clientoutlook.sonar/dart "1.0.3"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • sonar-dart-grammar
  • sonar-dart-plugin

Sonar Dart Plugin Build Status License

A Dart SonarQube plugin compatible with SonarQube 8.x.

This plugin relies on the output of the dartanalyzer for the generation of SonarQube issues. Please refer to the configuration key sonar.dart.analyzer.

Requirements

  • SonarQube 8.x
  • A Dart 2.x code base

Installing

Copy the jar file downloaded from the Releases to the extensions/plugins folder of your SonarQube server, and restart SonarQube.

Building and Deploying

  • Ensure you meet the following development dependencies:
    • Java 11+
    • Apache Maven 3.x
  • Run mvn clean install
  • Copy the jar file from sonar-dart-plugin/target to the SonarQube extensions/plugins folder
  • Restart the SonarQube server

Configuration

Example project configuration

This is an example project configuration file (sonar-project.properties):

sonar.host.url=http://sonar:9000
sonar.login=<my key>
sonar.projectKey=company:my-application
sonar.projectName=My Application
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.inclusions=**/lib/src/**
sonar.exclusions=**/.dart_tool/**,**/*.g.dart,**/*.reflectable.dart
sonar.dart.analyzer=dartanalyzer.out
sonar.dart.lcov.reportPaths=lcov.out

Plugin Configuration

Key Description
sonar.dart.analyzer Path to the collected output of dartanalyzer. It must be run with --format=machine. For example: dartanalyzer --lints --format=machine --packages=.packages . 2>dartanalyzer.out
sonar.dart.lcov.reportPaths A comma separated list of dart test coverage data formatted with coverage:format_coverage. For example: pub run test --coverage coverage && pub run coverage:format_coverage --packages=.packages -i coverage --lcov --out=lcov.out

License

Copyright 2020 Client Outlook

Licensed under The 3-Clause BSD License

com.clientoutlook.sonar

Client Outlook Inc.

Версии библиотеки

Версия
1.0.3
1.0.2
1.0.1
1.0.0