Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for targetVersions (0.43 seconds)

  1. build-logic/src/main/kotlin/JavaModules.kt

      moduleName: String,
      defaultVersion: Int = 8,
      javaModuleVersion: Int = 9,
      enableValidation: Boolean = true,
    ) {
      plugins.apply("me.champeau.mrjar")
    
      configure<MultiReleaseExtension> {
        targetVersions(defaultVersion, javaModuleVersion)
      }
    
      tasks.named<JavaCompile>("compileJava9Java").configure {
        val compileKotlinTask = tasks.getByName("compileKotlin") as KotlinJvmCompile
        dependsOn(compileKotlinTask)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 22:47:58 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         *
         * @param modelVersion the model version to check
         * @param targetVersion the target version to compare against
         * @return true if modelVersion >= targetVersion
         */
        public static boolean isVersionGreaterOrEqual(String modelVersion, String targetVersion) {
            if (modelVersion == null || targetVersion == null) {
                return false;
            }
    
            // Handle exact equality first
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

            }
            val versions = Gson().fromJson(response.body(), Array<GradleServicesVersion>::class.java)
            val found = versions.find { it.version == targetVersion }
                ?: throw RuntimeException("Version $targetVersion not found at $uri")
            return ReleasedVersion(found.version, found.buildTime)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top