-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from avioconsulting/feature/extension-refactor
Extensions Support, Maven Plugin, DSL, and other refactors
- Loading branch information
Showing
228 changed files
with
4,284 additions
and
1,965 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>mule-linter</name> | ||
<comment>Project mule-linter created by Buildship.</comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
</natures> | ||
<filteredResources> | ||
<filter> | ||
<id>1634743890935</id> | ||
<name></name> | ||
<type>30</type> | ||
<matcher> | ||
<id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
</matcher> | ||
</filter> | ||
</filteredResources> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
arguments= | ||
auto.sync=false | ||
build.scans.enabled=false | ||
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) | ||
connection.project.dir= | ||
eclipse.preferences.version=1 | ||
gradle.user.home= | ||
java.home=/Library/Java/JavaVirtualMachines/adoptopenjdk-16.jdk/Contents/Home | ||
jvm.arguments= | ||
offline.mode=false | ||
override.workspace.settings=true | ||
show.console.view=true | ||
show.executions.view=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,35 @@ | ||
|
||
plugins { | ||
id 'groovy' | ||
id 'java' | ||
id 'application' | ||
id 'codenarc' | ||
id 'maven-publish' | ||
id 'com.github.johnrengelman.shadow' version '6.0.0' | ||
id 'base' | ||
id 'net.thauvin.erik.gradle.semver' version '1.0.4' | ||
} | ||
|
||
group 'com.avioconsulting.mule' | ||
mainClassName = 'com.avioconsulting.mule.MuleLinterCli' | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
subprojects { | ||
apply plugin: 'groovy' | ||
apply plugin: 'java' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'net.thauvin.erik.gradle.semver' | ||
|
||
dependencies { | ||
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6' | ||
implementation 'org.codehaus.groovy:groovy-all:3.0.0' | ||
implementation 'info.picocli:picocli-groovy:4.3.2' | ||
testImplementation platform('org.spockframework:spock-bom:2.0-M3-groovy-3.0') | ||
testImplementation 'org.spockframework:spock-core' | ||
implementation 'com.google.code.gson:gson:2.8.6' | ||
implementation 'org.json:json:20171018' | ||
implementation 'org.yaml:snakeyaml:1.29' | ||
} | ||
group 'com.avioconsulting.mule' | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
// https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.CodeNarcExtension.html | ||
codenarc { | ||
configFile = file("${project.projectDir}/config/code-quality-config/codenarc/codenarc.xml") | ||
ignoreFailures = true | ||
} | ||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
from components.java | ||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(8) | ||
} | ||
} | ||
repositories { | ||
maven { | ||
credentials { | ||
username = System.getenv("MVN_USER") != null ? System.getenv("MVN_USER") : '' | ||
password = System.getenv("MVN_PASSWORD") != null ? System.getenv("MVN_PASSWORD") : '' | ||
} | ||
url = 'https://maven.pkg.github.com/avioconsulting/public-packages' | ||
|
||
dependencies { | ||
implementation (group: 'org.codehaus.groovy', name: 'groovy-all', version: '3.0.8', ext: 'pom'){ | ||
transitive= true | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.