Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SubprojectsInfo (0.1 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

    import java.io.File
    import kotlin.io.path.invariantSeparatorsPathString
    
    
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class SubprojectsInfo : DefaultTask() {
    
        private
        val rootPath = project.layout.projectDirectory.asFile.toPath()
    
        private
        val platformsFolder = project.layout.projectDirectory.dir("platforms")
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/GenerateSubprojectsInfo.kt

    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class GenerateSubprojectsInfo : SubprojectsInfo() {
    
        @TaskAction
        fun generateSubprojectsInfo() {
            subprojectsJson.asFile.writeText(generateSubprojectsJson())
        }
    
        companion object {
            internal
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckSubprojectsInfo.kt

    import org.gradle.api.GradleException
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class CheckSubprojectsInfo : SubprojectsInfo() {
    
        @TaskAction
        fun checkSubprojectsInfo() {
            if (subprojectsJson.asFile.readText() != generateSubprojectsJson()) {
                throw GradleException(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top