Skip to content

Commit

Permalink
build: set explicitApi to strict mode
Browse files Browse the repository at this point in the history
Fix missing visibility modifiers
  • Loading branch information
wzieba committed Dec 13, 2023
1 parent ea2e69f commit 2e77807
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion parsely/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ android {
}

kotlin {
explicitApi(ExplicitApiMode.Warning)
explicitApi(ExplicitApiMode.Strict)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import java.util.Calendar
* internet (i.e. app-only content) or if the customer is using an "in-pixel" integration.
* Otherwise, metadata will be gathered by Parse.ly's crawling infrastructure.
*/
open class ParselyMetadata
public open class ParselyMetadata
/**
* Create a new ParselyMetadata object.
*
Expand All @@ -36,7 +36,7 @@ open class ParselyMetadata
*
* @return a Map object representing the metadata.
*/
open fun toMap(): Map<String, Any?> {
internal open fun toMap(): Map<String, Any?> {
val output: MutableMap<String, Any?> = HashMap()
if (authors != null) {
output["authors"] = authors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.util.Calendar
/**
* ParselyMetadata for video content.
*/
class ParselyVideoMetadata
public class ParselyVideoMetadata
/**
* Create a new ParselyVideoMetadata object.
*
Expand Down

0 comments on commit 2e77807

Please sign in to comment.