Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
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 DatalogicLibraryAccessors laccForDatalogicLibraryAccessors = new DatalogicLibraryAccessors(owner);
private final EspressoLibraryAccessors laccForEspressoLibraryAccessors = new EspressoLibraryAccessors(owner);
private final ExtLibraryAccessors laccForExtLibraryAccessors = new ExtLibraryAccessors(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 activity (androidx.activity:activity)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getActivity() {
return create("activity");
}

/**
* Creates a dependency provider for appcompat (androidx.appcompat:appcompat)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getAppcompat() {
return create("appcompat");
}

/**
* Creates a dependency provider for constraintlayout (androidx.constraintlayout:constraintlayout)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getConstraintlayout() {
return create("constraintlayout");
}

/**
* Creates a dependency provider for junit (junit:junit)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getJunit() {
return create("junit");
}

/**
* Creates a dependency provider for material (com.google.android.material:material)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getMaterial() {
return create("material");
}

/**
* Returns the group of libraries at datalogic
*/
public DatalogicLibraryAccessors getDatalogic() {
return laccForDatalogicLibraryAccessors;
}

/**
* Returns the group of libraries at espresso
*/
public EspressoLibraryAccessors getEspresso() {
return laccForEspressoLibraryAccessors;
}

/**
* Returns the group of libraries at ext
*/
public ExtLibraryAccessors getExt() {
return laccForExtLibraryAccessors;
}

/**
* 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 DatalogicLibraryAccessors extends SubDependencyFactory {
private final DatalogicAndroidLibraryAccessors laccForDatalogicAndroidLibraryAccessors = new DatalogicAndroidLibraryAccessors(owner);

public DatalogicLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }

/**
* Returns the group of libraries at datalogic.android
*/
public DatalogicAndroidLibraryAccessors getAndroid() {
return laccForDatalogicAndroidLibraryAccessors;
}

}

public static class DatalogicAndroidLibraryAccessors extends SubDependencyFactory {

public DatalogicAndroidLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }

/**
* Creates a dependency provider for sdk (com.github.datalogic:datalogic-android-sdk)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getSdk() {
return create("datalogic.android.sdk");
}

}

public static class EspressoLibraryAccessors extends SubDependencyFactory {

public EspressoLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }

/**
* Creates a dependency provider for core (androidx.test.espresso:espresso-core)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getCore() {
return create("espresso.core");
}

}

public static class ExtLibraryAccessors extends SubDependencyFactory {

public ExtLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }

/**
* Creates a dependency provider for junit (androidx.test.ext:junit)
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getJunit() {
return create("ext.junit");
}

}

public static class VersionAccessors extends VersionFactory {

public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }

/**
* Returns the version associated to this alias: activity (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> getActivity() { return getVersion("activity"); }

/**
* Returns the version associated to this alias: agp (8.3.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: appcompat (1.7.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> getAppcompat() { return getVersion("appcompat"); }

/**
* Returns the version associated to this alias: constraintlayout (2.2.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> getConstraintlayout() { return getVersion("constraintlayout"); }

/**
* Returns the version associated to this alias: datalogicAndroidSdk (1.34)
* 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> getDatalogicAndroidSdk() { return getVersion("datalogicAndroidSdk"); }

/**
* Returns the version associated to this alias: espressoCore (3.6.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> getEspressoCore() { return getVersion("espressoCore"); }

/**
* 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: junitVersion (1.2.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> getJunitVersion() { return getVersion("junitVersion"); }

/**
* Returns the version associated to this alias: material (1.12.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> getMaterial() { return getVersion("material"); }

}

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 {

public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }

/**
* Creates a plugin provider for androidApplication to the plugin id 'com.android.application'
* This plugin was declared in catalog libs.versions.toml
*/
public Provider<PluginDependency> getAndroidApplication() { return createPlugin("androidApplication"); }

}

}
Loading