# Class ProjectLibrary

java.lang.Object
org.gradle.plugins.ide.idea.model.ProjectLibrary

@Deprecated public class ProjectLibrary extends Object
Deprecated.
Will be removed in Gradle 10.
A project-level IDEA library.

Since:
  1.5

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProjectLibrary()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addToNode(Node parentNode, PathFactory pathFactory)`
  Deprecated.
  Add to node.
  `boolean`
  `equals(Object obj)`
  Deprecated.
  `Set<File>`
  `getClasses()`
  Deprecated.
  A set of Jar files or directories containing compiled code.
  `Set<File>`
  `getCompilerClasspath()`
  Deprecated.
  A set of Jar files containing compiler classes.
  `Set<File>`
  `getJavadoc()`
  Deprecated.
  A set of Jar files or directories containing javadoc.
  `String`
  `getName()`
  Deprecated.
  The name of the library.
  `Set<File>`
  `getSources()`
  Deprecated.
  A set of directories containing sources.
  `String`
  `getType()`
  Deprecated.
  The type of the library.
  `int`
  `hashCode()`
  Deprecated.
  `void`
  `setClasses(Set<File> classes)`
  Deprecated.
  A set of Jar files or directories containing source code.
  `void`
  `setCompilerClasspath(Set<File> compilerClasspath)`
  Deprecated.
  Sets the compiler classpath.
  `void`
  `setJavadoc(Set<File> javadoc)`
  Deprecated.
  Sets the javadoc.
  `void`
  `setName(String name)`
  Deprecated.
  Sets the name.
  `void`
  `setSources(Set<File> sources)`
  Deprecated.
  Sets the sources.
  `void`
  `setType(String type)`
  Deprecated.
  Sets the type.

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ProjectLibrary

    public ProjectLibrary()
    Deprecated.

- ## Method Details

  - ### getName

    public String getName()
    Deprecated.
    The name of the library.
    Since:
      1.5

  - ### setName

    public void setName(String name)
    Deprecated.
    Sets the name.
    Since:
      1.5

  - ### getType

    public String getType()
    Deprecated.
    The type of the library.
    Since:
      2.12

  - ### setType

    public void setType(String type)
    Deprecated.
    Sets the type.
    Since:
      2.12

  - ### getCompilerClasspath

    public Set<File> getCompilerClasspath()
    Deprecated.
    A set of Jar files containing compiler classes.
    Since:
      2.12

  - ### setCompilerClasspath

    public void setCompilerClasspath(Set<File> compilerClasspath)
    Deprecated.
    Sets the compiler classpath.
    Since:
      2.12

  - ### getClasses

    public Set<File> getClasses()
    Deprecated.
    A set of Jar files or directories containing compiled code.
    Since:
      1.5

  - ### setClasses

    public void setClasses(Set<File> classes)
    Deprecated.
    A set of Jar files or directories containing source code.
    Since:
      1.5

  - ### getJavadoc

    public Set<File> getJavadoc()
    Deprecated.
    A set of Jar files or directories containing javadoc.
    Since:
      1.5

  - ### setJavadoc

    public void setJavadoc(Set<File> javadoc)
    Deprecated.
    Sets the javadoc.
    Since:
      1.5

  - ### getSources

    public Set<File> getSources()
    Deprecated.
    A set of directories containing sources.
    Since:
      1.5

  - ### setSources

    public void setSources(Set<File> sources)
    Deprecated.
    Sets the sources.
    Since:
      1.5

  - ### addToNode

    public void addToNode(Node parentNode, PathFactory pathFactory)
    Deprecated.
    Add to node.
    Since:
      1.5

  - ### equals

    public boolean equals(Object obj)
    Deprecated.
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Deprecated.
    Overrides:
      `hashCode` in class `Object`