Skip to content

Commit

Permalink
Merge pull request #54 from mdedetrich/use-com-github-sbt-package
Browse files Browse the repository at this point in the history
Use com.github.sbt package and deprecate io.github.jonas
  • Loading branch information
mkurz authored Feb 12, 2024
2 parents 4f0c5c9 + 62ed2d9 commit 02fdffc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.jonas.paradox.material.theme
package com.github.sbt.paradox.material.theme

import java.net.{ URI, URLEncoder }
import java.util.Locale
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package io.github.jonas.paradox.material.theme
package com.github.sbt.paradox.material.theme

import com.lightbend.paradox.sbt.ParadoxPlugin
import sbt._
import sbt.Keys._

object ParadoxMaterialThemePlugin extends AutoPlugin {
object autoImport {
type ParadoxMaterialTheme = _root_.io.github.jonas.paradox.material.theme.ParadoxMaterialTheme
val ParadoxMaterialTheme = _root_.io.github.jonas.paradox.material.theme.ParadoxMaterialTheme
type ParadoxMaterialTheme = _root_.com.github.sbt.paradox.material.theme.ParadoxMaterialTheme
val ParadoxMaterialTheme = _root_.com.github.sbt.paradox.material.theme.ParadoxMaterialTheme

val paradoxMaterialTheme = settingKey[ParadoxMaterialTheme]("Material theme options")
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.jonas.paradox.material.theme
package com.github.sbt.paradox.material.theme

import scala.collection.JavaConverters._
import com.lightbend.paradox.sbt.ParadoxPlugin.autoImport.paradoxMarkdownToHtml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package io.github.jonas.paradox.material

package object theme {
@deprecated("Use com.github.sbt.paradox.material.theme.ParadoxMaterialTheme instead", "0.7.0")
val ParadoxMaterialTheme = com.github.sbt.paradox.material.theme.ParadoxMaterialTheme

@deprecated("Use com.github.sbt.paradox.material.theme.ParadoxMaterialTheme instead", "0.7.0")
type ParadoxMaterialTheme = com.github.sbt.paradox.material.theme.ParadoxMaterialTheme

@deprecated("Use com.github.sbt.paradox.material.theme.ParadoxMaterialThemePlugin instead", "0.7.0")
val ParadoxMaterialThemePlugin = com.github.sbt.paradox.material.theme.ParadoxMaterialThemePlugin

@deprecated("Use com.github.sbt.paradox.material.theme.SearchIndex instead", "0.7.0")
val SearchIndex = com.github.sbt.paradox.material.theme.SearchIndex

@deprecated("Use com.github.sbt.paradox.material.theme.SearchIndex instead", "0.7.0")
type SearchIndex = com.github.sbt.paradox.material.theme.SearchIndex
}

0 comments on commit 02fdffc

Please sign in to comment.