Skip to content

Commit

Permalink
Version 4.1.0
Browse files Browse the repository at this point in the history
Add compile options for Java 8.
  • Loading branch information
pranavpandey committed Aug 8, 2021
1 parent 493e4da commit f276506
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ A simple library to display dialogs and dialog fragments on Android 4.0 (API 14)

> Since v2.0.0, it uses [AndroidX][androidx] so, first [migrate][androidx-migrate] your
project to AndroidX.
<br/>Since v4.1.0, it is dependent on Java 8 due to the dependency on
[Dynamic Utils](https://github.com/pranavpandey/dynamic-utils).

---

Expand All @@ -38,7 +40,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi
```groovy
dependencies {
// For AndroidX enabled projects.
implementation 'com.pranavpandey.android:dynamic-dialogs:4.0.0'
implementation 'com.pranavpandey.android:dynamic-dialogs:4.1.0'
// For legacy projects.
implementation 'com.pranavpandey.android:dynamic-dialogs:1.3.0'
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ ext {
mavenArtifactId = 'dynamic-dialogs'
mavenGroup = 'com.pranavpandey.android'
mavenDir = 'com/pranavpandey/android'
mavenInceptionYear = 2017
mavenVersion = '4.0.0'
mavenVersionCode = 28
sampleVersionCode = 29
mavenInceptionYear = '2017'
mavenVersion = '4.1.0'
mavenVersionCode = 29
sampleVersionCode = 30

developerId = 'pranavpandey'
developerName = 'Pranav Pandey'
Expand Down
5 changes: 5 additions & 0 deletions dynamic-dialogs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ android {
sourceSets {
main.res.srcDirs 'res'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion dynamic-dialogs/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ publishing {

// SCM
def scm = asNode().appendNode('scm')
scm.appendNode('connection', "${gitUrl}.git")
scm.appendNode('connection', "scm:git:${gitUrl}.git")
scm.appendNode('developerConnection', gitUrl)
scm.appendNode('url', siteUrl)

Expand Down
5 changes: 5 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ android {
lintOptions {
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
Expand Down

0 comments on commit f276506

Please sign in to comment.