Skip to content

Commit

Permalink
Migrate to sbt based build
Browse files Browse the repository at this point in the history
  • Loading branch information
razeghi71 committed Sep 25, 2024
1 parent 3173785 commit 3833728
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ project/boot/
project/plugins/project/
.history
.cache
.lib/
.metals
**/.bloop
.bsp/
.vscode
project/pro
metals.sbt
metals/project/
project/metals.sbt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ compile 'ir.huri:jalalicalendar:<version>'

# Getting Started

First of all I should note that **java gregorian calenders month is 0 base**
First of all I should note that **JAVA GREGORIAN CALENDERS MONTH IS 0 BASE SO JANUARY IS 0, FEBRUARY is 1, ...**

To Create a Jalali Date with specified year, month, day use the constructor :
```java
Expand Down
8 changes: 3 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ libraryDependencies ++= Seq(
)

// Publishing settings
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishTo := sonatypePublishToBundle.value
sonatypeCredentialHost := "oss.sonatype.org"
sonatypeRepository := "https://oss.sonatype.org/service/local"

publishMavenStyle := true

Expand Down

0 comments on commit 3833728

Please sign in to comment.