-
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.
Merge branch 'main' into plugins-release
plugins v0.6.0 release
- Loading branch information
Showing
30 changed files
with
288 additions
and
120 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,6 +1,8 @@ | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
.kotlin | ||
|
||
# Ignore Gradle build output directory | ||
build | ||
|
||
|
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
1 change: 0 additions & 1 deletion
1
...-gradle-plugins/src/main/kotlin/com/huanshankeji/jvm/native/osandarch/DefaultSupported.kt
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
2 changes: 1 addition & 1 deletion
2
...dle-plugins/src/main/kotlin/com/huanshankeji/kotlin-jvm-common-app-conventions.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
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
2 changes: 1 addition & 1 deletion
2
...-plugins/src/main/kotlin/com/huanshankeji/kotlin-multiplatform-app-conventions.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
19 changes: 19 additions & 0 deletions
19
architecture-common-gradle-plugins/src/main/kotlin/com/huanshankeji/spark/Spark.kt
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,19 @@ | ||
package com.huanshankeji.spark | ||
|
||
// copied and adapted from https://stackoverflow.com/a/76805763/5082913 | ||
val sparkJava17CompatibleJvmArgs = listOf( | ||
"--add-opens=java.base/java.lang=ALL-UNNAMED", | ||
"--add-opens=java.base/java.lang.invoke=ALL-UNNAMED", | ||
"--add-opens=java.base/java.lang.reflect=ALL-UNNAMED", | ||
"--add-opens=java.base/java.io=ALL-UNNAMED", | ||
"--add-opens=java.base/java.net=ALL-UNNAMED", | ||
"--add-opens=java.base/java.nio=ALL-UNNAMED", | ||
"--add-opens=java.base/java.util=ALL-UNNAMED", | ||
"--add-opens=java.base/java.util.concurrent=ALL-UNNAMED", | ||
"--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED", | ||
"--add-opens=java.base/sun.nio.ch=ALL-UNNAMED", | ||
"--add-opens=java.base/sun.nio.cs=ALL-UNNAMED", | ||
"--add-opens=java.base/sun.security.action=ALL-UNNAMED", | ||
"--add-opens=java.base/sun.util.calendar=ALL-UNNAMED", | ||
"--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED", | ||
) |
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,18 +1,23 @@ | ||
import com.huanshankeji.CommonGradleClasspathDependencies | ||
import com.huanshankeji.CommonVersions | ||
|
||
/* | ||
// Bootstrapping from "common-gradle-dependencies" | ||
val commonVersions = CommonVersions() | ||
val commonGradleClasspathDependencies = CommonGradleClasspathDependencies(commonVersions) | ||
*/ | ||
|
||
|
||
val kotlinVersion = "1.9.23" // for Compose 1.6.1 | ||
object DependencyVersions { | ||
val kotlin = "2.0.10" // compatible with the compose version below | ||
val composeMultiplatform = "1.7.0" | ||
val kotlinxBenchmark = "0.4.11" | ||
} | ||
|
||
val alignedPluginVersion = "0.5.1" | ||
val alignedPluginVersion = "0.6.0" | ||
|
||
// "x.y.z" indicates the version of the way of organizing the code, | ||
// and the date indicates the version when the dependency versions are updated. | ||
val commonGradleDependenciesVersion = "0.7.1-20240314-boostrap-SNAPSHOT" | ||
val commonGradleDependenciesVersion = "0.8.0-20241016-SNAPSHOT" | ||
|
||
// This is the source dependency version. There is another build source dependency in "buildSrc/build.gradle.kts". | ||
val pluginProjectSourceDependentStableCommonGradleDependenciesVersion = "0.7.1-20240314-boostrap".apply { | ||
val pluginProjectSourceDependentStableCommonGradleDependenciesVersion = "0.8.0-20241016".apply { | ||
require(!endsWith("SNAPSHOT")) | ||
} |
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
Oops, something went wrong.