Last change
on this file since 36296 was 36228, checked in by taylor.smock, 10 months ago |
StreetSide: Update to official API
This also moves the plugin to Java 21 (mostly for virtual threads), reformats the
code to match the JOSM standard (4 spaces), and fixes a bunch of lint issues.
Additionally, a lot of cruft from when this plugin was copied from Mapillary was
removed. That was largely related to image import, uploading, and login.
|
File size:
849 bytes
|
Line | |
---|
1 | // JaCoCo config
|
---|
2 | jacoco {
|
---|
3 | toolVersion = libs.versions.jacoco.get()
|
---|
4 | }
|
---|
5 | jacocoTestReport {
|
---|
6 | reports {
|
---|
7 | xml.required = true
|
---|
8 | }
|
---|
9 | dependsOn test
|
---|
10 | }
|
---|
11 | build.dependsOn jacocoTestReport
|
---|
12 |
|
---|
13 | // PMD config
|
---|
14 | pmd {
|
---|
15 | toolVersion libs.versions.pmd.get()
|
---|
16 | ignoreFailures true
|
---|
17 | ruleSetConfig = resources.text.fromFile('config/pmd/ruleset.xml')
|
---|
18 | sourceSets = [sourceSets.main, sourceSets.test]
|
---|
19 | }
|
---|
20 |
|
---|
21 | // SonarQube config
|
---|
22 | sonar {
|
---|
23 | properties {
|
---|
24 | property 'sonar.forceAuthentication', 'true'
|
---|
25 | property 'sonar.host.url', 'https://sonarqube.com'
|
---|
26 | property 'sonar.projectKey', 'org.openstreetmap.josm.plugins:Microsoft-Streetside'
|
---|
27 | property 'sonar.projectName', 'ms-streetside-josm-plugin'
|
---|
28 | property 'sonar.projectVersion', project.version
|
---|
29 | property 'sonar.projectDescription', property('plugin.description')
|
---|
30 | property 'sonar.sources', ['src']
|
---|
31 | }
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.