-
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.
feat: serialization and versioning support (#9)
* feat: `serialization` & `versioning` support is added * docs: documentation improvements (for the new artifacts, root one)
- Loading branch information
Showing
49 changed files
with
1,572 additions
and
343 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
gradlePluginPortal() | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(11) | ||
} | ||
|
||
dependencies { | ||
api(libs.kotlin.plugin) | ||
api(libs.vanniktech.maven.publish) | ||
} |
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,14 @@ | ||
dependencyResolutionManagement { | ||
repositories { | ||
mavenCentral() | ||
google() | ||
} | ||
|
||
versionCatalogs { | ||
create("libs") { | ||
from(files("../gradle/libs.versions.toml")) | ||
} | ||
} | ||
} | ||
|
||
rootProject.name = "conventions" |
64 changes: 64 additions & 0 deletions
64
build-conventions/src/main/kotlin/multiplatform-module-convention.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,64 @@ | ||
import org.jetbrains.kotlin.gradle.dsl.* | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
id("com.vanniktech.maven.publish") | ||
} | ||
|
||
kotlin { | ||
jvm() | ||
jvmToolchain(11) | ||
|
||
explicitApi = ExplicitApiMode.Strict | ||
} | ||
|
||
mavenPublishing { | ||
pom { | ||
url.set("https://github.com/y9vad9/rsocket-kotlin-router") | ||
inceptionYear.set("2023") | ||
|
||
licenses { | ||
license { | ||
name.set("The MIT License") | ||
url.set("https://opensource.org/licenses/MIT") | ||
distribution.set("https://opensource.org/licenses/MIT") | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
id.set("y9vad9") | ||
name.set("Vadym Yaroshchuk") | ||
url.set("https://github.com/y9vad9/") | ||
} | ||
} | ||
|
||
scm { | ||
url.set("https://github.com/y9vad9/rsocket-kotlin-router") | ||
connection.set("scm:git:git://github.com/y9vad9/rsocket-kotlin-router.git") | ||
developerConnection.set("scm:git:ssh://[email protected]/y9vad9/rsocket-kotlin-router.git") | ||
} | ||
|
||
issueManagement { | ||
system.set("GitHub Issues") | ||
url.set("https://github.com/y9vad9/rsocket-kotlin-router/issues") | ||
} | ||
} | ||
} | ||
|
||
publishing { | ||
repositories { | ||
maven { | ||
name = "y9vad9Maven" | ||
|
||
url = uri( | ||
"sftp://${System.getenv("SSH_HOST")}:22/${System.getenv("SSH_DEPLOY_PATH")}" | ||
) | ||
|
||
credentials { | ||
username = System.getenv("SSH_USER") | ||
password = System.getenv("SSH_PASSWORD") | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.