forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Part of quarkusio#8134 and quarkusio#8178 Copying a few lines of code from `ClassPathUtils.processAsPath` Various tidy ups Add qute-example codestart and change naming convention Improve integration tests Use descriptive processors for codestarts
- Loading branch information
Showing
190 changed files
with
4,336 additions
and
916 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
3 changes: 3 additions & 0 deletions
3
...m-descriptor-json/src/main/resources/bundled-codestarts/buildtool/gradle/base/..gitignore
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,3 @@ | ||
# Gradle | ||
.gradle/ | ||
build/ |
37 changes: 37 additions & 0 deletions
37
...son/src/main/resources/bundled-codestarts/buildtool/gradle/base/build-layout.include.qute
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,37 @@ | ||
{#insert plugins} | ||
plugins { | ||
id '{quarkus.plugin.id}' | ||
} | ||
{/} | ||
|
||
{#insert repositories} | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
} | ||
{/} | ||
|
||
{#insert dependencies} | ||
dependencies { | ||
implementation enforcedPlatform("$\{quarkusPlatformGroupId}:$\{quarkusPlatformArtifactId}:$\{quarkusPlatformVersion}") | ||
{#for dep in dependencies} | ||
implementation '{dep}' | ||
{/for} | ||
testImplementation 'io.quarkus:quarkus-junit5' | ||
{#for dep in test-dependencies} | ||
testImplementation '{dep}' | ||
{/for} | ||
} | ||
{/} | ||
|
||
{#insert project} | ||
group '{project.group-id}' | ||
version '{project.version}' | ||
{/} | ||
|
||
{#insert java} | ||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
{/} |
6 changes: 6 additions & 0 deletions
6
...on/src/main/resources/bundled-codestarts/buildtool/gradle/base/gradle.tpl.qute.properties
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,6 @@ | ||
#Gradle properties | ||
#Tue Jun 16 08:41:21 UTC 2020 | ||
quarkusPluginVersion={quarkus.plugin.version} | ||
quarkusPlatformGroupId={quarkus.platform.group-id} | ||
quarkusPlatformArtifactId={quarkus.platform.artifact-id} | ||
quarkusPlatformVersion={quarkus.platform.version} |
11 changes: 11 additions & 0 deletions
11
...json/src/main/resources/bundled-codestarts/buildtool/gradle/base/settings.tpl.qute.gradle
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,11 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
plugins { | ||
id '{quarkus.plugin.id}' version "$\{quarkusPluginVersion}" | ||
} | ||
} | ||
rootProject.name='{project.artifact-id}' |
28 changes: 28 additions & 0 deletions
28
...form-descriptor-json/src/main/resources/bundled-codestarts/buildtool/gradle/codestart.yml
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 @@ | ||
name: gradle | ||
type: buildtool | ||
language: | ||
base: | ||
data: | ||
quarkus: | ||
plugin: | ||
id: io.quarkus | ||
version: | ||
kotlin: 1.3.72 | ||
scala: 2.12.8 | ||
shared-data: | ||
buildtool: | ||
build-dir: build | ||
guide: https://quarkus.io/guides/gradle-tooling | ||
guide-native: https://quarkus.io/guides/gradle-tooling#building-a-native-executable | ||
cmd: | ||
dev: ./gradlew quarkusDev | ||
package: ./gradlew quarkusBuild | ||
package-uberjar: ./gradlew quarkusBuild --uber-jar | ||
package-native: ./gradlew build -Dquarkus.package.type=native | ||
package-native-container: ./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true | ||
kotlin: | ||
dependencies: | ||
- org.jetbrains.kotlin:kotlin-stdlib-jdk8 | ||
scala: | ||
dependencies: | ||
- org.scala-lang:scala-library:${version.scala} |
17 changes: 17 additions & 0 deletions
17
...or-json/src/main/resources/bundled-codestarts/buildtool/gradle/java/build.tpl.qute.gradle
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,17 @@ | ||
{#include build-layout} | ||
{#plugins} | ||
plugins { | ||
id 'java' | ||
id '{quarkus.plugin.id}' | ||
} | ||
{/plugins} | ||
{/include} | ||
|
||
compileJava { | ||
options.encoding = 'UTF-8' | ||
options.compilerArgs << '-parameters' | ||
} | ||
|
||
compileTestJava { | ||
options.encoding = 'UTF-8' | ||
} |
32 changes: 32 additions & 0 deletions
32
...-json/src/main/resources/bundled-codestarts/buildtool/gradle/kotlin/build.tpl.qute.gradle
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,32 @@ | ||
{#include build-layout} | ||
{#plugins} | ||
plugins { | ||
id 'org.jetbrains.kotlin.jvm' version "{version.kotlin}" | ||
id "org.jetbrains.kotlin.plugin.allopen" version "{version.kotlin}" | ||
id '{quarkus.plugin.id}' | ||
} | ||
{/plugins} | ||
{/include} | ||
|
||
quarkus { | ||
setOutputDirectory("$projectDir/build/classes/kotlin/main") | ||
} | ||
|
||
quarkusDev { | ||
setSourceDir("$projectDir/src/main/kotlin") | ||
} | ||
|
||
allOpen { | ||
annotation("javax.ws.rs.Path") | ||
annotation("javax.enterprise.context.ApplicationScoped") | ||
annotation("io.quarkus.test.junit.QuarkusTest") | ||
} | ||
|
||
compileKotlin { | ||
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 | ||
kotlinOptions.javaParameters = true | ||
} | ||
|
||
compileTestKotlin { | ||
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 | ||
} |
15 changes: 15 additions & 0 deletions
15
...r-json/src/main/resources/bundled-codestarts/buildtool/gradle/scala/build.tpl.qute.gradle
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,15 @@ | ||
{#include build-layout} | ||
{#plugins} | ||
plugins { | ||
id 'scala' | ||
id '{quarkus.plugin.id}' | ||
} | ||
{/plugins} | ||
{/include} | ||
|
||
compileScala { | ||
scalaCompileOptions.encoding = 'UTF-8' | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
6 changes: 6 additions & 0 deletions
6
...rm-descriptor-json/src/main/resources/bundled-codestarts/buildtool/maven/base/..gitignore
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,6 @@ | ||
#Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties |
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
25 changes: 25 additions & 0 deletions
25
...tform-descriptor-json/src/main/resources/bundled-codestarts/buildtool/maven/codestart.yml
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,25 @@ | ||
--- | ||
name: maven | ||
type: buildtool | ||
fallback: true | ||
language: | ||
base: | ||
data: | ||
maven: | ||
version: | ||
kotlin: 1.3.72 | ||
scala: 2.12.8 | ||
scala-maven-plugin: 4.1.1 | ||
maven-compiler-plugin: 3.8.1 | ||
maven-surefire-plugin: 2.22.1 | ||
shared-data: | ||
buildtool: | ||
build-dir: target | ||
guide: https://quarkus.io/guides/maven-tooling.html | ||
guide-native: https://quarkus.io/guides/building-native-image | ||
cmd: | ||
dev: ./mvnw compile quarkus:dev | ||
package: ./mvnw package | ||
package-uberjar: ./mvnw package -PuberJar | ||
package-native: ./mvnw package -Pnative | ||
package-native-container: ./mvnw package -Pnative -Dquarkus.native.container-build=true |
Oops, something went wrong.