Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for buildReceipt (0.1 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

            fun newSimpleDateFormatUTC(pattern: String) = SimpleDateFormat(pattern).apply {
                timeZone = TimeZone.getTimeZone("UTC")
            }
    
            fun readBuildReceiptFromString(buildReceipt: String) =
                Properties().apply { load(buildReceipt.reader()) }
    
            const val buildReceiptFileName = "build-receipt.properties"
            const val buildReceiptLocation = "org/gradle/$buildReceiptFileName"
        }
    
        @get:Input
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

            val buildReceiptFileContents: Property<String>
        }
    
        override fun obtain(): String? = parameters.run {
            buildReceiptString()
                ?.let(BuildReceipt::readBuildReceiptFromString)
                ?.let { buildReceipt ->
                    buildReceipt["buildTimestamp"] as String
                }
        }
    
        override fun getDisplayName(): String =
            "the build timestamp extracted from the build receipt".let {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

        private val keepPackages: Set<String>,
        private val unshadedPackages: Set<String>,
        private val ignorePackages: Set<String>
    ) {
    
        fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph {
            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

    import gradlebuild.identity.extension.ReleasedVersionsDetails
    import gradlebuild.identity.provider.BuildTimestampFromBuildReceiptValueSource
    import gradlebuild.identity.provider.BuildTimestampValueSource
    import gradlebuild.identity.tasks.BuildReceipt
    
    plugins {
        `java-base`
    }
    
    val moduleIdentity = extensions.create<ModuleIdentityExtension>("moduleIdentity")
    
    group = "org.gradle"
    version = collectVersionDetails(moduleIdentity)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ModuleIdentityExtension.kt

     * limitations under the License.
     */
    
    package gradlebuild.identity.extension
    
    import gradlebuild.basics.buildCommitId
    import gradlebuild.identity.tasks.BuildReceipt
    import org.gradle.api.model.ObjectFactory
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.api.tasks.bundling.Jar
    import org.gradle.kotlin.dsl.*
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top