-
Notifications
You must be signed in to change notification settings - Fork 1
chore: initialize project gradle structure and configuration files #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
34ef04e
chore: rename files and directories for improved structure
OmarAlJarrah c673e98
chore: delete old code
OmarAlJarrah 6397e09
Revert "chore: delete old code"
OmarAlJarrah 3ad78e6
chore: delete old code
OmarAlJarrah 23c0239
chore: delete old code
OmarAlJarrah a56a07e
Merge branch 'v2-dev' into v2/delete-old-code
OmarAlJarrah e80a2f3
chore: initialize project gradle structure and configuration files
OmarAlJarrah 2e8fb9c
Revert "chore: delete old code"
OmarAlJarrah 93c6388
Revert "chore: delete old code"
OmarAlJarrah 32004dd
chore: undelete code
OmarAlJarrah be222dc
Merge branch 'v2/delete-old-code' into v2/initial-gradle-setup
OmarAlJarrah dc2172b
chore: clean up build.gradle.kts and update mergeSpecs task
OmarAlJarrah 8bb97ea
Merge branch 'v2-dev' into v2/initial-gradle-setup
OmarAlJarrah 8aaca0d
chore: update path for specs.gradle.kts in build.gradle.kts
OmarAlJarrah 10a8782
chore: update OpenAPI generator plugin version to 0.0.9-alpha
OmarAlJarrah 73b0557
chore: refactor transformSpecs task to use Exec type and streamline c…
OmarAlJarrah c14ebda
chore: remove obsolete POM license properties from gradle.properties
OmarAlJarrah fbc53af
chore: add mavenCentral repository to plugin management
OmarAlJarrah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,18 @@ | ||
|
|
||
| # Configuration file for EditorConfig: http://editorconfig.org | ||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| indent_style = space | ||
| indent_size = 4 | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # space indentation for JSON and YML | ||
| [*.{json,json5,yml,yaml}] | ||
| indent_size = 2 | ||
|
|
||
| [*.kt] | ||
| ktlint_standard_enum-entry-name-case = disabled |
This file contains hidden or 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,47 @@ | ||
| .gradle | ||
| .idea | ||
|
|
||
| build/ | ||
| !gradle/wrapper/gradle-wrapper.jar | ||
| !**/src/main/**/build/ | ||
| !**/src/test/**/build/ | ||
|
|
||
| ### IntelliJ IDEA ### | ||
| .idea/modules.xml | ||
| .idea/jarRepositories.xml | ||
| .idea/compiler.xml | ||
| .idea/libraries/ | ||
| *.iws | ||
| *.iml | ||
| *.ipr | ||
| out/ | ||
| !**/src/main/**/out/ | ||
| !**/src/test/**/out/ | ||
|
|
||
| ### Kotlin ### | ||
| .kotlin | ||
|
|
||
| ### Eclipse ### | ||
| .apt_generated | ||
| .classpath | ||
| .factorypath | ||
| .project | ||
| .settings | ||
| .springBeans | ||
| .sts4-cache | ||
| bin/ | ||
| !**/src/main/**/bin/ | ||
| !**/src/test/**/bin/ | ||
|
|
||
| ### NetBeans ### | ||
| /nbproject/private/ | ||
| /nbbuild/ | ||
| /dist/ | ||
| /nbdist/ | ||
| /.nb-gradle/ | ||
|
|
||
| ### VS Code ### | ||
| .vscode/ | ||
|
|
||
| ### Mac OS ### | ||
| .DS_Store |
This file contains hidden or 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,88 @@ | ||
| import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
| import org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper | ||
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
| import java.time.Duration | ||
|
|
||
| plugins { | ||
| id("java") | ||
| id("org.jetbrains.kotlin.jvm") version "2.1.10" | ||
| id("org.jlleitschuh.gradle.ktlint") version "12.1.2" | ||
| id("io.github.gradle-nexus.publish-plugin") version "2.0.0" | ||
| } | ||
|
|
||
| group = project.property("GROUP_ID") as String | ||
|
|
||
| apply("gradle-tasks/specs.gradle.kts") | ||
| apply("$rootDir/gradle-tasks/snapshot.gradle") | ||
|
|
||
| allprojects { | ||
| repositories { | ||
| mavenCentral() | ||
| maven { | ||
| url = uri("https://oss.sonatype.org/content/repositories/snapshots/") | ||
| } | ||
| } | ||
| } | ||
|
|
||
| subprojects { | ||
| apply(plugin = "java") | ||
| apply(plugin = "org.jetbrains.kotlin.jvm") | ||
| apply(plugin = "org.jlleitschuh.gradle.ktlint") | ||
|
|
||
| plugins.withId("org.jetbrains.kotlin.jvm") { | ||
| kotlin { | ||
| jvmToolchain(8) | ||
| } | ||
| } | ||
|
|
||
| plugins.withType<KotlinBasePluginWrapper>().configureEach { | ||
| tasks.withType<KotlinCompile>().configureEach { | ||
| compilerOptions { | ||
| jvmTarget.set(JvmTarget.JVM_1_8) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| java { | ||
| withSourcesJar() | ||
| withJavadocJar() | ||
anssari1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| sourceCompatibility = JavaVersion.VERSION_1_8 | ||
| targetCompatibility = JavaVersion.VERSION_1_8 | ||
|
|
||
| // Gradle 7+ Java toolchain approach (also sets 1.8) | ||
| toolchain { | ||
| languageVersion.set(JavaLanguageVersion.of(8)) | ||
| } | ||
| } | ||
|
|
||
| ktlint { | ||
| debug.set(true) | ||
| version.set("1.5.0") | ||
| verbose.set(true) | ||
|
|
||
| additionalEditorconfig.set( | ||
| mapOf( | ||
| "max_line_length" to "200", | ||
| "indent_style" to "space", | ||
| "indent_size" to "4", | ||
| "insert_final_newline" to "true", | ||
| "end_of_line" to "lf", | ||
| ), | ||
| ) | ||
| } | ||
| } | ||
|
|
||
| nexusPublishing { | ||
| repositories { | ||
| sonatype { | ||
| username.set(System.getenv("SONATYPE_USERNAME")) | ||
| password.set(System.getenv("SONATYPE_PASSWORD")) | ||
| } | ||
| } | ||
|
|
||
| transitionCheckOptions { | ||
| maxRetries.set(60) | ||
| delayBetween.set(Duration.ofMillis(5000)) | ||
| } | ||
| } | ||
This file contains hidden or 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,12 @@ | ||
| plugins { | ||
| `kotlin-dsl` | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| } | ||
|
|
||
| dependencies { | ||
| api("org.openapitools:openapi-generator:7.11.0") | ||
| implementation("com.samskivert:jmustache:1.15") | ||
| } |
26 changes: 0 additions & 26 deletions
26
customizations/core/src/main/kotlin/com/expediagroup/sdk/core/constant/HeaderKey.kt
This file was deleted.
Oops, something went wrong.
172 changes: 0 additions & 172 deletions
172
...or/openapi/src/main/kotlin/com/expediagroup/sdk/generators/openapi/OpenApiSdkGenerator.kt
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...ocessor/assets/rules/activities-cancellation-policy/change-builder-method-param-type.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...s/post-processor/assets/rules/activities-cancellation-policy/change-class-param-type.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.