- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 120 for construct (0.26 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
} } internal enum class MemberType { TYPE, CONSTRUCTOR, FIELD, METHOD } private fun memberTypeFor(member: CtMember): MemberType = when (member) { is CtConstructor -> MemberType.CONSTRUCTOR is CtField -> MemberType.FIELD is CtMethod -> MemberType.METHOD
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 07 08:20:38 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginOptions.kt
import org.gradle.internal.deprecation.DeprecationLogger import org.gradle.kotlin.dsl.* /** * Options for the `kotlin-dsl` plugin. * * @see KotlinDslPlugin */ abstract class KotlinDslPluginOptions internal constructor(objects: ObjectFactory) { private val jvmTargetProperty = objects.property<String>() /** * Kotlin compilation JVM target. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 06:37:53 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/EmbeddedKotlinProvider.kt
package org.gradle.kotlin.dsl.support import org.gradle.api.artifacts.dsl.DependencyHandler import org.gradle.kotlin.dsl.embeddedKotlinVersion import java.util.Properties class EmbeddedKotlinProvider internal constructor() { fun addDependenciesTo( dependencies: DependencyHandler, configuration: String, vararg kotlinModules: String ) { kotlinModules.forEach { kotlinModule ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson) } class TestClassTime( val testClassAndSourceSet: TestClassAndSourceSet, val buildTimeMs: Int ) { constructor(jsonObject: JSONObject) : this( TestClassAndSourceSet( jsonObject.getString("testClass"), jsonObject.getString("sourceSet") ), jsonObject.getIntValue("buildTimeMs") )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 17:04:41 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/TaskContainerExtensionsTest.kt
import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class TaskContainerExtensionsTest { @Test fun `can create tasks with injected constructor arguments`() { val task = mock<DefaultTask>() val tasks = mock<TaskContainer> { on { create("my", DefaultTask::class.java, "foo", "bar") } doReturn task }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/notify/package-info.java
* 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. */ /** * This package forms the basic contract between the build scan plugin * and Gradle with regard to observing build operations. * * It has no dependencies to types outside of this package other than JDK types. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 14:19:43 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-plugins/src/main/kotlin/org/gradle/kotlin/dsl/plugins/embedded/EmbeddedKotlinPlugin.kt
* * Applies the `org.jetbrains.kotlin.jvm` plugin, * adds compile only and test implementation dependencies on `kotlin-stdlib` and `kotlin-reflect`. */ abstract class EmbeddedKotlinPlugin @Inject internal constructor( private val embeddedKotlin: EmbeddedKotlinProvider ) : Plugin<Project> { override fun apply(project: Project) { project.run { plugins.apply(KotlinPluginWrapper::class.java)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 23 00:40:48 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java
private final int size; /** * Unsafe constructor for internally created Sets that we know won't be mutated. */ ImmutableUniqueList(Set<T> from) { this(from, from.toArray(new Object[0])); } /** * Unsafe constructor for {@link Builder}. */ ImmutableUniqueList(Set<T> set, Object[] array) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedCollectionProxyClassGeneratorTest.groovy
impl instanceof SomeTypeImpl impl instanceof SpecializedType impl.value == 12 } def "generates a proxy classes for multiple different contract types"() { def target = Stub(SomeType) target.value >> 12 expect: def impl1 = generate(SomeTypeImpl, SpecializedType) def impl2 = generate(SomeTypeImpl, SpecializedType2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts
extendsFrom(externalApi.get()) outgoing.artifact(task) configureAsRuntimeElements(objects) } open class SoftwareComponentFactoryProvider @Inject constructor(val factory: SoftwareComponentFactory) val softwareComponentFactory = project.objects.newInstance(SoftwareComponentFactoryProvider::class.java).factory val gradleApiComponent = softwareComponentFactory.adhoc("gradleApi")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:55 UTC 2024 - 4.2K bytes - Viewed (0)