Compare commits
No commits in common. "ae060f5bd28dceb272b2d359185320aefc2dc6e6" and "32e21491c7286156d8263fcfb3c6d3b88ebe0c6e" have entirely different histories.
ae060f5bd2
...
32e21491c7
6 changed files with 233 additions and 16 deletions
|
@ -8,4 +8,15 @@ dependencies {
|
||||||
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.9.0")
|
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.9.0")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
|
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
|
||||||
implementation("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3")
|
implementation("org.jetbrains.kotlinx:kover-gradle-plugin:0.7.3")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencyLocking {
|
||||||
|
lockMode.set(LockMode.STRICT)
|
||||||
|
}
|
||||||
|
|
||||||
|
configurations {
|
||||||
|
// only lock compile & runtime to prevent error:
|
||||||
|
// Locking strict mode: Configuration ':buildSrc:testCompileClasspath' is locked but does not have lock state.
|
||||||
|
compileClasspath { resolutionStrategy.activateDependencyLocking() }
|
||||||
|
runtimeClasspath { resolutionStrategy.activateDependencyLocking() }
|
||||||
|
}
|
||||||
|
|
|
@ -15,4 +15,22 @@ tasks.withType<AbstractArchiveTask>().configureEach {
|
||||||
// https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives
|
// https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives
|
||||||
isPreserveFileTimestamps = false
|
isPreserveFileTimestamps = false
|
||||||
isReproducibleFileOrder = true
|
isReproducibleFileOrder = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencyLocking {
|
||||||
|
lockMode.set(LockMode.STRICT)
|
||||||
|
lockAllConfigurations()
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.register("resolveAndLockAllDependencies") {
|
||||||
|
// https://docs.gradle.org/current/userguide/dependency_locking.html#ex-resolving-all-configurations
|
||||||
|
group = "dependencies"
|
||||||
|
notCompatibleWithConfigurationCache("Filters configurations at execution time")
|
||||||
|
val resolvableConfigurations = configurations.matching { it.isCanBeResolved }
|
||||||
|
doFirst {
|
||||||
|
require(gradle.startParameter.isWriteDependencyLocks) { "$path must be run from the command line with the `--write-locks` flag" }
|
||||||
|
}
|
||||||
|
doLast {
|
||||||
|
resolvableConfigurations.forEach { it.resolve() }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
18
gradle.lockfile
Normal file
18
gradle.lockfile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# This is a Gradle generated file for dependency locking.
|
||||||
|
# Manual edits can break the build and are not advised.
|
||||||
|
# This file is expected to be part of source control.
|
||||||
|
org.freemarker:freemarker:2.3.32=koverJvmReporter
|
||||||
|
org.jetbrains.intellij.deps:coverage-report:1.0.21=koverJvmReporter
|
||||||
|
org.jetbrains.intellij.deps:intellij-coverage-agent:1.0.724=koverJvmAgent,koverJvmReporter
|
||||||
|
org.jetbrains.intellij.deps:intellij-coverage-reporter:1.0.724=koverJvmReporter
|
||||||
|
org.jetbrains.intellij.deps:trove4j:1.0.20200330=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-daemon-embeddable:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-reflect:1.6.10=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-script-runtime:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-stdlib-common:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains.kotlin:kotlin-stdlib:1.9.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains:annotations:13.0=kotlinKlibCommonizerClasspath
|
||||||
|
org.jetbrains:annotations:16.0.2=koverJvmReporter
|
||||||
|
empty=koverExternalArtifacts
|
92
urlencoder-app/gradle.lockfile
Normal file
92
urlencoder-app/gradle.lockfile
Normal file
File diff suppressed because one or more lines are too long
|
@ -52,20 +52,6 @@ tasks {
|
||||||
delete(deployDir)
|
delete(deployDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
dokkaJavadoc {
|
|
||||||
dokkaSourceSets {
|
|
||||||
configureEach {
|
|
||||||
suppress.set(true)
|
|
||||||
}
|
|
||||||
|
|
||||||
val commonMain by getting {
|
|
||||||
suppress.set(false)
|
|
||||||
platform.set(org.jetbrains.dokka.Platform.jvm)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
withType<DokkaTask>().configureEach {
|
withType<DokkaTask>().configureEach {
|
||||||
dokkaSourceSets.configureEach {
|
dokkaSourceSets.configureEach {
|
||||||
moduleName.set("UrlEncoder Library")
|
moduleName.set("UrlEncoder Library")
|
||||||
|
|
92
urlencoder-lib/gradle.lockfile
Normal file
92
urlencoder-lib/gradle.lockfile
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue