Skip to content

Commit

Permalink
Merge pull request #61 from kaleidot725/feature/update_library
Browse files Browse the repository at this point in the history
Feature/update library
  • Loading branch information
kaleidot725 authored May 11, 2024
2 parents f41a712 + 08bff0b commit 99b10a1
Show file tree
Hide file tree
Showing 27 changed files with 918 additions and 196 deletions.
Binary file added .gradle/8.5/checksums/checksums.lock
Binary file not shown.
Binary file added .gradle/8.5/checksums/md5-checksums.bin
Binary file not shown.
Binary file added .gradle/8.5/checksums/sha1-checksums.bin
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
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 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 adam (com.malinskiy.adam:adam)
* with versionRef 'adam'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getAdam() {
return create("adam");
}

/**
* Creates a dependency provider for jSystemThemeDetectorVer (com.github.Dansoftowner:jSystemThemeDetector)
* with versionRef 'system.theme.detector'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getJSystemThemeDetectorVer() {
return create("jSystemThemeDetectorVer");
}

/**
* Creates a dependency provider for junit5 (org.junit.jupiter:junit-jupiter)
* with versionRef 'junit'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getJunit5() {
return create("junit5");
}

/**
* Creates a dependency provider for koin (io.insert-koin:koin-core)
* with versionRef 'koin'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getKoin() {
return create("koin");
}

/**
* 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 KotlinLibraryAccessors extends SubDependencyFactory {

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

/**
* Creates a dependency provider for coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-core)
* with versionRef 'kotlin.coroutines'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getCoroutines() {
return create("kotlin.coroutines");
}

/**
* Creates a dependency provider for serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
* with versionRef 'kotlin.serialization'.
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getSerialization() {
return create("kotlin.serialization");
}

}

public static class VersionAccessors extends VersionFactory {

private final KotlinVersionAccessors vaccForKotlinVersionAccessors = new KotlinVersionAccessors(providers, config);
private final KtlintVersionAccessors vaccForKtlintVersionAccessors = new KtlintVersionAccessors(providers, config);
private final SystemVersionAccessors vaccForSystemVersionAccessors = new SystemVersionAccessors(providers, config);
public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }

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

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

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

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

/**
* Returns the group of versions at versions.kotlin
*/
public KotlinVersionAccessors getKotlin() {
return vaccForKotlinVersionAccessors;
}

/**
* Returns the group of versions at versions.ktlint
*/
public KtlintVersionAccessors getKtlint() {
return vaccForKtlintVersionAccessors;
}

/**
* Returns the group of versions at versions.system
*/
public SystemVersionAccessors getSystem() {
return vaccForSystemVersionAccessors;
}

}

public static class KotlinVersionAccessors extends VersionFactory implements VersionNotationSupplier {

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

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

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

/**
* Returns the version associated to this alias: kotlin.serialization (1.6.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> getSerialization() { return getVersion("kotlin.serialization"); }

}

public static class KtlintVersionAccessors extends VersionFactory {

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

/**
* Returns the version associated to this alias: ktlint.plugin (12.1.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> getPlugin() { return getVersion("ktlint.plugin"); }

}

public static class SystemVersionAccessors extends VersionFactory {

private final SystemThemeVersionAccessors vaccForSystemThemeVersionAccessors = new SystemThemeVersionAccessors(providers, config);
public SystemVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); }

/**
* Returns the group of versions at versions.system.theme
*/
public SystemThemeVersionAccessors getTheme() {
return vaccForSystemThemeVersionAccessors;
}

}

public static class SystemThemeVersionAccessors extends VersionFactory {

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

/**
* Returns the version associated to this alias: system.theme.detector (3.8)
* 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> getDetector() { return getVersion("system.theme.detector"); }

}

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 KotlinxPluginAccessors paccForKotlinxPluginAccessors = new KotlinxPluginAccessors(providers, config);

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

/**
* Creates a plugin provider for compose to the plugin id 'org.jetbrains.compose'
* with versionRef 'compose'.
* This plugin was declared in catalog libs.versions.toml
*/
public Provider<PluginDependency> getCompose() { return createPlugin("compose"); }

/**
* Creates a plugin provider for ktlint to the plugin id 'org.jlleitschuh.gradle.ktlint'
* with versionRef 'ktlint.plugin'.
* This plugin was declared in catalog libs.versions.toml
*/
public Provider<PluginDependency> getKtlint() { return createPlugin("ktlint"); }

/**
* Creates a plugin provider for multiplatform to the plugin id 'org.jetbrains.kotlin.multiplatform'
* with versionRef 'kotlin'.
* This plugin was declared in catalog libs.versions.toml
*/
public Provider<PluginDependency> getMultiplatform() { return createPlugin("multiplatform"); }

/**
* Returns the group of plugins at plugins.kotlinx
*/
public KotlinxPluginAccessors getKotlinx() {
return paccForKotlinxPluginAccessors;
}

}

public static class KotlinxPluginAccessors extends PluginFactory {

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

/**
* Creates a plugin provider for kotlinx.serialization to the plugin id 'org.jetbrains.kotlin.plugin.serialization'
* with versionRef 'kotlin'.
* This plugin was declared in catalog libs.versions.toml
*/
public Provider<PluginDependency> getSerialization() { return createPlugin("kotlinx.serialization"); }

}

}
Loading

0 comments on commit 99b10a1

Please sign in to comment.