- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 406 for JavaVersion (0.14 sec)
-
platforms/documentation/docs/src/snippets/base/customExternalTask/kotlin/task/build.gradle.kts
} } // Needed when using ProjectBuilder class AddOpensArgProvider(private val test: Test) : CommandLineArgumentProvider { override fun asArguments() : Iterable<String> { return if (test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) { listOf("--add-opens=java.base/java.lang=ALL-UNNAMED") } else { emptyList() } } } tasks.withType<Test>().configureEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy
when: executer.withArgument("-Ptest.javadoc.version=${jdk2.javaVersion.majorVersion}") withInstallations(jdk1, jdk2).run(":javadoc") then: executedAndNotSkipped(":javadoc") file("build/docs/javadoc/Lib.html").text.contains("Some API documentation.") when: executer.withArgument("-Ptest.javadoc.version=${jdk2.javaVersion.majorVersion}") withInstallations(jdk1, jdk2).run(":javadoc")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainBuildOperationsFixture.groovy
assert expectedTools == usedTools events.each { usageEvent -> def usedToolchain = usageEvent.details.toolchain assert usedToolchain == [ javaVersion: jdkMetadata.javaVersion, javaVendor: jdkMetadata.vendor.displayName, runtimeName: jdkMetadata.runtimeName, runtimeVersion: jdkMetadata.runtimeVersion,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/StackTraceElementPlaceholder.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.serialize; import org.gradle.api.JavaVersion; import java.io.Serializable; public class StackTraceElementPlaceholder implements Serializable { private static final long serialVersionUID = 1L; private final String classLoaderName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/groovy/build.gradle
plugins { id 'java-library' } java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } repositories { mavenCentral() } // tag::consumer_dependencies[] dependencies { implementation(project(":lib")) testImplementation 'junit:junit:4.13' testImplementation(testFixtures(project(":lib"))) } // end::consumer_dependencies[] configurations {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1004 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/build-logic/android-application/src/main/kotlin/com.example.android-application.gradle.kts
} android { compileSdkVersion(28) defaultConfig { minSdkVersion(24) targetSdkVersion(28) } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } } dependencies { implementation(platform("com.example.platform:product-platform")) testImplementation(platform("com.example.platform:test-platform"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 654 bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SupportedBuildJvmIntegrationTest.groovy
) def "provides reasonable failure message when attempting to run under java #jdk.javaVersion"() { given: executer.withJavaHome(jdk.javaHome) expect: fails("help") failure.assertHasErrorOutput("Gradle ${GradleVersion.current().version} requires Java 1.8 or later to run. You are currently using Java ${jdk.javaVersion}.") where: jdk << AvailableJavaHomes.getJdks("1.6", "1.7") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompilerOptions.kt
* limitations under the License. */ package org.gradle.kotlin.dsl.support import org.gradle.api.JavaVersion import org.gradle.initialization.GradlePropertiesController import java.io.Serializable data class KotlinCompilerOptions( val jvmTarget: JavaVersion = JavaVersion.current(), val allWarningsAsErrors: Boolean = false, val skipMetadataVersionCheck: Boolean = true, ) : Serializable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 03 17:11:24 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcNonJvmIntegrationTest.groovy
toolVersion = '${version}' } tasks.register("codenarcGradle", CodeNarc) { source "test.groovy" } ${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_14) ? """ configurations.codenarc {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/components/AbstractComponentReportIntegrationTest.groovy
InternalTransformer<String, String> formatter = new ComponentReportOutputFormatter() JavaVersion currentJvm = JavaVersion.current() String currentJavaName = "java" + currentJvm.majorVersion String currentJava = "Java SE " + currentJvm.majorVersion String currentJdk = String.format("JDK %s (%s)", currentJvm.majorVersion, currentJvm); def setup() { settingsFile << "rootProject.name = 'test'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 15 23:29:03 UTC 2022 - 2.3K bytes - Viewed (0)