-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This experimental changeset plans to implement precompilation through Prepack, and potentially compression, for assets embedded for SSR loading in app JARs. Changes enclosed: - Add `prepack` dependency to `graalvm-react` - Run `prepack` against built code, switch outputs to embed it - Change default symbol to `.pack.js` variant
- Loading branch information
Showing
48 changed files
with
142 additions
and
15 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
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
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,31 @@ | ||
[versions] | ||
detekt = "1.20.0" | ||
kotlin = "1.7.0" | ||
ktlintGradle = "10.3.0" | ||
pluginPublish = "0.21.0" | ||
pluginProtobuf = "0.8.18" | ||
versionCheck = "0.42.0" | ||
sonar = "3.4.0.2513" | ||
protobuf = "3.20.1" | ||
kotlinx_serialization = "1.3.3" | ||
truth = "1.1.3" | ||
|
||
[plugins] | ||
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt"} | ||
kotlin = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin"} | ||
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlintGradle"} | ||
sonar = { id = "org.sonarqube", version.ref = "sonar" } | ||
protobuf = { id = "com.google.protobuf", version.ref = "pluginProtobuf" } | ||
pluginPublish = { id = "com.gradle.plugin-publish", version.ref = "pluginPublish"} | ||
versionCheck = { id = "com.github.ben-manes.versions", version.ref = "versionCheck"} | ||
|
||
[libraries] | ||
junit = "junit:junit:4.13.2" | ||
protobuf_java = { group = "com.google.protobuf", name = "protobuf-java", version.ref = "protobuf" } | ||
protobuf_util = { group = "com.google.protobuf", name = "protobuf-java-util", version.ref = "protobuf" } | ||
protobuf_kotlin = { group = "com.google.protobuf", name = "protobuf-kotlin", version.ref = "protobuf" } | ||
kotlinx_serialization_core = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core", version.ref = "kotlinx_serialization" } | ||
kotlinx_serialization_json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx_serialization" } | ||
kotlinx_serialization_protobuf = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-protobuf", version.ref = "kotlinx_serialization" } | ||
truth = { group = "com.google.truth", name = "truth", version.ref = "truth" } | ||
truth_proto = { group = "com.google.truth.extensions", name = "truth-proto-extension", version.ref = "truth" } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions
32
tools/plugin/gradle-plugin/plugin-build/model/build.gradle.kts
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 @@ | ||
import com.google.protobuf.gradle.* | ||
|
||
plugins { | ||
kotlin("jvm") | ||
alias(libs.plugins.protobuf) | ||
} | ||
|
||
protobuf { | ||
protoc { | ||
artifact = "com.google.protobuf:protoc:${libs.plugins.protobuf.get()}" | ||
} | ||
} | ||
|
||
dependencies { | ||
api(kotlin("gradle-plugin")) | ||
implementation(kotlin("stdlib-jdk7")) | ||
implementation(libs.protobuf.java) | ||
implementation(libs.protobuf.kotlin) | ||
implementation(libs.protobuf.util) | ||
implementation(libs.kotlinx.serialization.core) | ||
implementation(libs.kotlinx.serialization.json) | ||
implementation(libs.kotlinx.serialization.protobuf) | ||
|
||
testImplementation(libs.junit) | ||
testImplementation(libs.truth) | ||
testImplementation(libs.truth.proto) | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
Binary file not shown.
5 changes: 0 additions & 5 deletions
5
tools/plugin/gradle/plugin-build/gradle/wrapper/gradle-wrapper.properties
This file was deleted.
Oops, something went wrong.