Skip to content

Commit

Permalink
@JvmStatic annotation added at Bongabdo class method
Browse files Browse the repository at this point in the history
  • Loading branch information
hasancse91 committed Oct 22, 2024
1 parent 2165d83 commit 828981a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bongabdo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ publishing {
create<MavenPublication>("maven") {
groupId = "com.github.hasancse91"
artifactId = "bongabdo"
version = "1.0.0"
version = "1.0.1"
from(components["kotlin"])
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ abstract class Bongabdo {
* But if you need any other calculation method, just extend [Bongabdo] class and implement
* your own logic inside [getBongabdoData] method.
*/
@JvmStatic
fun getInstance(method: BongabdoMethod): Bongabdo {
return when (method) {
BongabdoMethod.BANGLA_ACADEMY -> BanglaAcademyBongabdo()
Expand Down

0 comments on commit 828981a

Please sign in to comment.