-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d35f02
commit d74aa54
Showing
32 changed files
with
235 additions
and
69 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+927 Bytes
...a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidGradleLibraryAccessors.class
Binary file not shown.
Binary file added
BIN
+1.07 KB
...2b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$AndroidLibraryAccessors.class
Binary file not shown.
Binary file added
BIN
+765 Bytes
...fa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$BundleAccessors.class
Binary file not shown.
Binary file added
BIN
+924 Bytes
...9a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinGradleLibraryAccessors.class
Binary file not shown.
Binary file added
BIN
+1.06 KB
...52b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinLibraryAccessors.class
Binary file not shown.
Binary file added
BIN
+901 Bytes
...952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$KotlinPluginAccessors.class
Binary file not shown.
Binary file added
BIN
+1.09 KB
...fa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$PluginAccessors.class
Binary file not shown.
Binary file added
BIN
+1.21 KB
...a4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs$VersionAccessors.class
Binary file not shown.
Binary file added
BIN
+4.18 KB
...88fa7dffe069445ffa4b72952b4629a15a/classes/org/gradle/accessors/dm/LibrariesForLibs.class
Binary file not shown.
217 changes: 217 additions & 0 deletions
217
...288fa7dffe069445ffa4b72952b4629a15a/sources/org/gradle/accessors/dm/LibrariesForLibs.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,217 @@ | ||
package org.gradle.accessors.dm; | ||
|
||
import org.gradle.api.NonNullApi; | ||
import org.gradle.api.artifacts.MinimalExternalModuleDependency; | ||
import org.gradle.plugin.use.PluginDependency; | ||
import org.gradle.api.artifacts.ExternalModuleDependencyBundle; | ||
import org.gradle.api.artifacts.MutableVersionConstraint; | ||
import org.gradle.api.provider.Provider; | ||
import org.gradle.api.model.ObjectFactory; | ||
import org.gradle.api.provider.ProviderFactory; | ||
import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; | ||
import org.gradle.api.internal.catalog.DefaultVersionCatalog; | ||
import java.util.Map; | ||
import org.gradle.api.internal.attributes.ImmutableAttributesFactory; | ||
import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; | ||
import javax.inject.Inject; | ||
|
||
/** | ||
* A catalog of dependencies accessible via the `libs` extension. | ||
*/ | ||
@NonNullApi | ||
public class LibrariesForLibs extends AbstractExternalDependencyFactory { | ||
|
||
private final AbstractExternalDependencyFactory owner = this; | ||
private final AndroidLibraryAccessors laccForAndroidLibraryAccessors = new AndroidLibraryAccessors(owner); | ||
private final KotlinLibraryAccessors laccForKotlinLibraryAccessors = new KotlinLibraryAccessors(owner); | ||
private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); | ||
private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); | ||
private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); | ||
|
||
@Inject | ||
public LibrariesForLibs(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { | ||
super(config, providers, objects, attributesFactory, capabilityNotationParser); | ||
} | ||
|
||
/** | ||
* Creates a dependency provider for gson (com.google.code.gson:gson) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getGson() { return create("gson"); } | ||
|
||
/** | ||
* Creates a dependency provider for guava (com.google.guava:guava) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getGuava() { return create("guava"); } | ||
|
||
/** | ||
* Creates a dependency provider for javapoet (com.squareup:javapoet) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getJavapoet() { return create("javapoet"); } | ||
|
||
/** | ||
* Creates a dependency provider for junit (junit:junit) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getJunit() { return create("junit"); } | ||
|
||
/** | ||
* Returns the group of libraries at android | ||
*/ | ||
public AndroidLibraryAccessors getAndroid() { return laccForAndroidLibraryAccessors; } | ||
|
||
/** | ||
* Returns the group of libraries at kotlin | ||
*/ | ||
public KotlinLibraryAccessors getKotlin() { return laccForKotlinLibraryAccessors; } | ||
|
||
/** | ||
* Returns the group of versions at versions | ||
*/ | ||
public VersionAccessors getVersions() { return vaccForVersionAccessors; } | ||
|
||
/** | ||
* Returns the group of bundles at bundles | ||
*/ | ||
public BundleAccessors getBundles() { return baccForBundleAccessors; } | ||
|
||
/** | ||
* Returns the group of plugins at plugins | ||
*/ | ||
public PluginAccessors getPlugins() { return paccForPluginAccessors; } | ||
|
||
public static class AndroidLibraryAccessors extends SubDependencyFactory { | ||
private final AndroidGradleLibraryAccessors laccForAndroidGradleLibraryAccessors = new AndroidGradleLibraryAccessors(owner); | ||
|
||
public AndroidLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } | ||
|
||
/** | ||
* Returns the group of libraries at android.gradle | ||
*/ | ||
public AndroidGradleLibraryAccessors getGradle() { return laccForAndroidGradleLibraryAccessors; } | ||
|
||
} | ||
|
||
public static class AndroidGradleLibraryAccessors extends SubDependencyFactory { | ||
|
||
public AndroidGradleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } | ||
|
||
/** | ||
* Creates a dependency provider for plugin (com.android.tools.build:gradle) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getPlugin() { return create("android.gradle.plugin"); } | ||
|
||
} | ||
|
||
public static class KotlinLibraryAccessors extends SubDependencyFactory { | ||
private final KotlinGradleLibraryAccessors laccForKotlinGradleLibraryAccessors = new KotlinGradleLibraryAccessors(owner); | ||
|
||
public KotlinLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } | ||
|
||
/** | ||
* Returns the group of libraries at kotlin.gradle | ||
*/ | ||
public KotlinGradleLibraryAccessors getGradle() { return laccForKotlinGradleLibraryAccessors; } | ||
|
||
} | ||
|
||
public static class KotlinGradleLibraryAccessors extends SubDependencyFactory { | ||
|
||
public KotlinGradleLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } | ||
|
||
/** | ||
* Creates a dependency provider for plugin (org.jetbrains.kotlin:kotlin-gradle-plugin) | ||
* This dependency was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<MinimalExternalModuleDependency> getPlugin() { return create("kotlin.gradle.plugin"); } | ||
|
||
} | ||
|
||
public static class VersionAccessors extends VersionFactory { | ||
|
||
public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } | ||
|
||
/** | ||
* Returns the version associated to this alias: agp (8.1.1) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getAgp() { return getVersion("agp"); } | ||
|
||
/** | ||
* Returns the version associated to this alias: gson (2.8.9) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getGson() { return getVersion("gson"); } | ||
|
||
/** | ||
* Returns the version associated to this alias: guava (31.0.1-jre) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getGuava() { return getVersion("guava"); } | ||
|
||
/** | ||
* Returns the version associated to this alias: javapoet (1.13.0) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getJavapoet() { return getVersion("javapoet"); } | ||
|
||
/** | ||
* Returns the version associated to this alias: junit (4.13.2) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getJunit() { return getVersion("junit"); } | ||
|
||
/** | ||
* Returns the version associated to this alias: kotlin (1.8.0) | ||
* If the version is a rich version and that its not expressible as a | ||
* single version string, then an empty string is returned. | ||
* This version was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<String> getKotlin() { return getVersion("kotlin"); } | ||
|
||
} | ||
|
||
public static class BundleAccessors extends BundleFactory { | ||
|
||
public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } | ||
|
||
} | ||
|
||
public static class PluginAccessors extends PluginFactory { | ||
private final KotlinPluginAccessors paccForKotlinPluginAccessors = new KotlinPluginAccessors(providers, config); | ||
|
||
public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } | ||
|
||
/** | ||
* Returns the group of plugins at plugins.kotlin | ||
*/ | ||
public KotlinPluginAccessors getKotlin() { return paccForKotlinPluginAccessors; } | ||
|
||
} | ||
|
||
public static class KotlinPluginAccessors extends PluginFactory { | ||
|
||
public KotlinPluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } | ||
|
||
/** | ||
* Creates a plugin provider for kotlin.jvm to the plugin id 'org.jetbrains.kotlin.jvm' | ||
* This plugin was declared in catalog libs.versions.toml | ||
*/ | ||
public Provider<PluginDependency> getJvm() { return createPlugin("kotlin.jvm"); } | ||
|
||
} | ||
|
||
} |
Binary file added
BIN
+17 Bytes
test/android/.gradle/8.0.1/dependencies-accessors/dependencies-accessors.lock
Binary file not shown.
Binary file added
BIN
+21.4 KB
test/android/.gradle/8.0.1/dependencies-accessors/executionHistory.bin
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Wed Feb 14 14:28:07 CET 2024 | ||
gradle.version=8.0.1 |
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters