-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure project and add remoting bits
Signed-off-by: OlegDokuka <[email protected]>
- Loading branch information
1 parent
29511db
commit e4b7b29
Showing
127 changed files
with
9,760 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,10 @@ | ||
import com.hierynomus.gradle.license.tasks.LicenseCheck | ||
|
||
plugins { | ||
id("org.openrewrite.build.recipe-library") version "latest.release" | ||
} | ||
group = "org.openrewrite" | ||
description = "Rewrite JavaScript" | ||
|
||
val latest = rewriteRecipe.rewriteVersion.get() | ||
dependencies { | ||
compileOnly("org.openrewrite:rewrite-test") | ||
|
||
implementation(platform("org.openrewrite:rewrite-bom:$latest")) | ||
implementation("org.openrewrite:rewrite-java") | ||
implementation("org.openrewrite:rewrite-remote-java:$latest") { | ||
exclude(group = "org.openrewrite", module = "rewrite-javascript") | ||
} | ||
|
||
compileOnly("org.assertj:assertj-core:latest.release") | ||
testImplementation("org.assertj:assertj-core:latest.release") | ||
testImplementation("org.junit.jupiter:junit-jupiter-api:latest.release") | ||
testImplementation("org.junit.jupiter:junit-jupiter-params:latest.release") | ||
testImplementation("org.openrewrite:rewrite-test") | ||
testImplementation("org.openrewrite.recipe:rewrite-static-analysis:${latest}") | ||
testImplementation("org.junit-pioneer:junit-pioneer:2.0.0") | ||
|
||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:latest.release") | ||
} | ||
|
||
// FIXME disable all tests for now until the parser tests have been moved to JavaScript | ||
tasks.withType<Test> { | ||
enabled = false | ||
} | ||
|
||
tasks.withType<Javadoc> { | ||
options { | ||
this as CoreJavadocOptions | ||
addStringOption("Xdoclint:none", "-quiet") | ||
} | ||
id("org.openrewrite.build.root") version("latest.release") | ||
id("org.openrewrite.build.java-base") version("latest.release") | ||
} | ||
|
||
tasks.withType<LicenseCheck> { | ||
include("*.java") | ||
allprojects { | ||
group = "org.openrewrite" | ||
description = "Rewrite JavaScript" | ||
} | ||
|
||
// TODO add index.js artifact from the js subproject |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.