Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for withType (0.19 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

    import gradlebuild.buildutils.tasks.UpdateAgpVersions
    import gradlebuild.buildutils.tasks.UpdateKotlinVersions
    import gradlebuild.buildutils.tasks.UpdateReleasedVersions
    import java.net.URL
    
    
    tasks.withType<UpdateReleasedVersions>().configureEach {
        releasedVersionsFile = releasedVersionsFile()
        group = "Versioning"
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersions") {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Nov 29 10:17:36 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ktlint.gradle.kts

    }
    
    tasks {
        runKtlintCheckOverKotlinScripts {
            // Only check the build files, not all *.kts files in the project
            includes += listOf("*.gradle.kts")
        }
    
        withType<Test>().configureEach {
            shouldRunAfter(ktlintCheck)
        }
    }
    
    pluginManager.withPlugin("gradlebuild.code-quality") {
        tasks {
            named("codeQuality") {
                dependsOn(ktlintCheck)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Oct 01 11:07:15 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

    javaComponent.withVariantsFromConfiguration(testFixturesRuntimeElements) {
        skip()
    }
    javaComponent.withVariantsFromConfiguration(testFixturesApiElements) {
        skip()
    }
    
    plugins.withType<IdeaPlugin> {
        configure<IdeaModel> {
            module {
                val testFixtures = sourceSets.testFixtures.get()
                testSources.from(testFixtures.java.srcDirs)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

    import gradlebuild.basics.capitalize
    import com.google.gson.Gson
    import java.net.URL
    
    wrapperUpdateTask("nightly", "nightly")
    wrapperUpdateTask("rc", "release-candidate")
    wrapperUpdateTask("current", "current")
    
    tasks.withType<Wrapper>().configureEach {
        val jvmOpts = "-Dfile.encoding=UTF-8"
        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  6. .github/workflows/codeql-analysis.init.gradle

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    allprojects {
        tasks.withType(JavaCompile).configureEach {
            outputs.doNotCacheIf("CodeQL scanning", { true })
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Oct 10 05:36:54 GMT 2020
    - 745 bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Absent.java

    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Absent.java

    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
      public T get() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/build.gradle.kts

    }
    
    sourceSets {
        "main" { projectDefault() }
        "test" {
            projectDefault()
            generatedTestDir()
        }
    }
    
    tasks.withType<KotlinJvmCompile>().configureEach {
        compilerOptions {
            optIn.addAll(
                listOf(
                    "kotlin.RequiresOptIn",
                    "org.jetbrains.kotlin.analysis.api.KtAnalysisApiInternals"
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

    }
    
    val moduleIdentity = the<ModuleIdentityExtension>()
    
    configureJarTasks()
    
    pluginManager.withPlugin("java-base") {
        configureClasspathManifestGeneration()
    }
    
    fun configureJarTasks() {
        tasks.withType<Jar>().configureEach {
            archiveBaseName = moduleIdentity.baseName
            archiveVersion = moduleIdentity.version.map { it.baseVersion.version }
            manifest.attributes(
                mapOf(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top