-
-
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 changeset refactors the Elide library build to use convention plugins, written in Kotlin, and completes a number of other cleanups and refactors. See below for details. Changes enclosed: - Begin to adopt shared Micronaut version catalog - Write convention plugins for common module profiles - Adopt convention plugins, cleanup module build scripts - Centralize as much common plugin config as possible - Opt-in to context receivers support - Dependency upgrades (see relevant section) - Rebuild docs and reports - Version bump -> `1.0-v3-alpha1-rc32` Changes pending: - Add module for `bom` / version catalog sharing for Elide - Add new `ssg` module for generating static content Dependency upgrades: - GraalVM SDK: `22.3.0` - Protobuf: `3.21.2` - gRPC: `1.50.2` - GAX: `2.19.5` - Netty: `4.1.85.Final` - TCNative: `2.0.54.Final` - Micronaut Plugin: `3.6.4` - AtomicFU: `0.18.5` - Kotlin UUID: `0.6.0`
- Loading branch information
Showing
3,442 changed files
with
101,059 additions
and
52,141 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0-v3-alpha1-rc31 | ||
1.0-v3-alpha1-rc32 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
dependencyResolutionManagement { | ||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/elide.versions.toml")) | ||
} | ||
} | ||
} |
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,57 @@ | ||
|
||
/** Static library configuration values. */ | ||
object Elide { | ||
/** Name of the library. */ | ||
const val name = "elide" | ||
|
||
/** Major release version for Elide. */ | ||
const val track = "v3" | ||
|
||
/** Major library version. */ | ||
const val majorVersion = "1.0" | ||
|
||
/** Major library version tag. */ | ||
const val versionTag = "alpha1" | ||
|
||
/** Revision value for the library. */ | ||
const val revision = 32 | ||
|
||
/** Version string for the library. */ | ||
const val version = "$majorVersion-$track-$versionTag-rc$revision" | ||
|
||
/** Latest plugin version. */ | ||
const val pluginVersion = "1.0.0-beta9" | ||
|
||
/** Maven group shared by Elide artifacts. */ | ||
const val group = "dev.elide" | ||
|
||
/** Compiler args to include in all Kotlin targets. */ | ||
val compilerArgs = listOf( | ||
"-Xcontext-receivers", | ||
) | ||
|
||
/** Compiler args to include in Kotlin JVM targets. */ | ||
val jvmCompilerArgs = compilerArgs.plus(listOf( | ||
"-Xuse-k2", | ||
)) | ||
|
||
/** Compiler args to include in Kotlin JS targets. */ | ||
val jsCompilerArgs = compilerArgs | ||
|
||
/** Compiler args to include in Kotlin MPP targets. */ | ||
val mppCompilerArgs = compilerArgs | ||
|
||
/** Compiler args to include in Kotlin JVM targets which use `kapt`. */ | ||
val kaptCompilerArgs = compilerArgs.plus(listOf( | ||
"-Xallow-unstable-dependencies", | ||
)) | ||
|
||
/** Minimum JVM version. */ | ||
const val jvmTarget = "11" | ||
|
||
/** Kotlin SDK and platform version. */ | ||
const val kotlinSdk = "1.7.21" | ||
|
||
/** Kotlin language version. */ | ||
const val kotlinLanguage = "1.7" | ||
} |
Oops, something went wrong.