Contraband 0.9.0

This commit is contained in:
Eugene Yokota 2026-06-01 01:43:59 -04:00
parent 5dd886e243
commit c1219702d5
16 changed files with 1 additions and 106 deletions

View File

@ -11,13 +11,6 @@ abstract class AbstractEntry(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: AbstractEntry => (this.channelName == x.channelName) && (this.execId == x.execId)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.util.AbstractEntry".##) + channelName.##) + execId.##)
}
override def toString: String = {
"AbstractEntry(" + channelName + ", " + execId + ")"
}

View File

@ -19,13 +19,6 @@ abstract class MavenRepository(
def this(name: String, root: String) = this(name, root, true)
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: MavenRepository => (this.name == x.name) && (this.root == x.root) && (this.localIfFile == x.localIfFile)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.librarymanagement.MavenRepository".##) + name.##) + root.##) + localIfFile.##)
}
override def toString: String = {
"MavenRepository(" + name + ", " + root + ", " + localIfFile + ")"
}

View File

@ -11,13 +11,6 @@ abstract class ModuleSettings(
def this() = this(false, None)
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ModuleSettings => (this.validate == x.validate) && (this.scalaModuleInfo == x.scalaModuleInfo)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.librarymanagement.ModuleSettings".##) + validate.##) + scalaModuleInfo.##)
}
override def toString: String = {
"ModuleSettings(" + validate + ", " + scalaModuleInfo + ")"
}

View File

@ -12,13 +12,6 @@ abstract class PatternsBasedRepository(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: PatternsBasedRepository => (this.name == x.name) && (this.patterns == x.patterns)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.librarymanagement.PatternsBasedRepository".##) + name.##) + patterns.##)
}
override def toString: String = {
"PatternsBasedRepository(" + name + ", " + patterns + ")"
}

View File

@ -11,13 +11,6 @@ abstract class Resolver(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Resolver => (this.name == x.name)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.librarymanagement.Resolver".##) + name.##)
}
override def toString: String = {
"Resolver(" + name + ")"
}

View File

@ -9,13 +9,6 @@ abstract class SshAuthentication() extends Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: SshAuthentication => true
case _ => false
})
override def hashCode: Int = {
37 * (17 + "sbt.librarymanagement.SshAuthentication".##)
}
override def toString: String = {
"SshAuthentication()"
}

View File

@ -13,13 +13,6 @@ abstract class SshBasedRepository(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SshBasedRepository => (this.name == x.name) && (this.patterns == x.patterns) && (this.connection == x.connection)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.librarymanagement.SshBasedRepository".##) + name.##) + patterns.##) + connection.##)
}
override def toString: String = {
"SshBasedRepository(" + name + ", " + patterns + ", " + connection + ")"
}

View File

@ -12,13 +12,6 @@ abstract class IvyConfiguration(
def this() = this(None, None, sbt.internal.librarymanagement.ivy.UpdateOptions())
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: IvyConfiguration => (this.lock == x.lock) && (this.log == x.log) && (this.updateOptions == x.updateOptions)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.librarymanagement.ivy.IvyConfiguration".##) + lock.##) + log.##) + updateOptions.##)
}
override def toString: String = {
"IvyConfiguration(" + lock + ", " + log + ", " + updateOptions + ")"
}

View File

@ -11,13 +11,6 @@ abstract class RemoteCacheArtifact(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: RemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.remotecache.RemoteCacheArtifact".##) + artifact.##) + packaged.##)
}
override def toString: String = {
"RemoteCacheArtifact(" + artifact + ", " + packaged + ")"
}

View File

@ -4,7 +4,7 @@ scalacOptions ++= Seq("-feature", "-Ywarn-unused:_,-imports")
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.0")
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.8.0")
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.9.0")
addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.5")

View File

@ -12,13 +12,6 @@ abstract class TextDocumentPositionParamsInterface(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentPositionParamsInterface => (this.textDocument == x.textDocument) && (this.position == x.position)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.TextDocumentPositionParamsInterface".##) + textDocument.##) + position.##)
}
override def toString: String = {
"TextDocumentPositionParamsInterface(" + textDocument + ", " + position + ")"
}

View File

@ -11,13 +11,6 @@ abstract class JsonRpcMessage(
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcMessage => (this.jsonrpc == x.jsonrpc)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.protocol.JsonRpcMessage".##) + jsonrpc.##)
}
override def toString: String = {
"JsonRpcMessage(" + jsonrpc + ")"
}

View File

@ -10,13 +10,6 @@ abstract class CommandMessage() extends Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: CommandMessage => true
case _ => false
})
override def hashCode: Int = {
37 * (17 + "sbt.protocol.CommandMessage".##)
}
override def toString: String = {
"CommandMessage()"
}

View File

@ -10,13 +10,6 @@ abstract class EventMessage() extends Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: EventMessage => true
case _ => false
})
override def hashCode: Int = {
37 * (17 + "sbt.protocol.EventMessage".##)
}
override def toString: String = {
"EventMessage()"
}

View File

@ -9,13 +9,6 @@ abstract class SettingQueryResponse() extends sbt.protocol.EventMessage() with S
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: SettingQueryResponse => true
case _ => false
})
override def hashCode: Int = {
37 * (17 + "sbt.protocol.SettingQueryResponse".##)
}
override def toString: String = {
"SettingQueryResponse()"
}

View File

@ -10,13 +10,6 @@ abstract class TestMessage() extends Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: TestMessage => true
case _ => false
})
override def hashCode: Int = {
37 * (17 + "sbt.protocol.testing.TestMessage".##)
}
override def toString: String = {
"TestMessage()"
}