-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f80704b
commit c500c79
Showing
79 changed files
with
3,645 additions
and
1,240 deletions.
There are no files selected for viewing
This file was deleted.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
# Gradle | ||
org.gradle.jvmargs = -Xmx4g -XX:MaxMetaspaceSize=2g | ||
org.gradle.parallel = true | ||
|
||
# KSP | ||
ksp.incremental.intermodule = true | ||
|
||
# Kosi | ||
org.kodein.no-default-junit = true | ||
org.kodein.native.enableCrossCompilation=true |
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
162 changes: 0 additions & 162 deletions
162
mockmp-gradle-plugin/src/main/kotlin/org/kodein/mock/gradle/MocKMPGradlePlugin.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
mockmp-processor/src/main/kotlin/org/kodein/mock/ksp/MocKMPProcessorProvider.kt
This file was deleted.
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
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,12 @@ | ||
plugins { | ||
kotlin("jvm") version "2.0.21" | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(gradleApi()) | ||
} |
32 changes: 32 additions & 0 deletions
32
mockmp/buildSrc/src/main/kotlin/intermediateProjectTasks.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,32 @@ | ||
import org.gradle.api.Project | ||
|
||
/* | ||
In a composite build, tasks run from the root will not automatically propagate to subprojects (see | ||
https://github.com/gradle/gradle/issues/20863). | ||
This plugin is for root build scripts that do not themselves have a "publish" task. It adds a | ||
"publish" task that depends on the "publish" tasks of all subprojects, to emulate typical Gradle | ||
behavior. | ||
*/ | ||
fun Project.intermediateProjectTasks() { | ||
apply { plugin("org.gradle.lifecycle-base") } | ||
afterEvaluate { | ||
listOf( | ||
"publishToMavenLocal" to "publishing", | ||
"publishAllPublicationsToOssrhStagingRepository" to "release", | ||
"publishPlugins" to "plugin portal", | ||
).forEach { (taskName, taskGroup) -> | ||
if (taskName !in project.tasks.names) { | ||
project.tasks.register(taskName) { | ||
group = taskGroup | ||
dependsOn(subprojects.map { ":${it.path}:$taskName" }) | ||
} | ||
} | ||
} | ||
|
||
listOf("build", "clean", "assemble").forEach { taskName -> | ||
tasks.named(taskName) { | ||
dependsOn(subprojects.map { ":${it.path}:$taskName" }) | ||
} | ||
} | ||
} | ||
} |
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,11 @@ | ||
# Gradle | ||
org.gradle.jvmargs = -Xmx4g -XX:MaxMetaspaceSize=2g | ||
org.gradle.parallel = true | ||
|
||
# KSP | ||
ksp.incremental.intermodule = true | ||
#ksp.useKSP2 = true | ||
|
||
# Kosi | ||
org.kodein.no-default-junit = true | ||
org.kodein.native.enableCrossCompilation=true |
14 changes: 7 additions & 7 deletions
14
gradle/libs.versions.toml → mockmp/gradle/libs.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
Oops, something went wrong.