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 f674684 commit b104d59
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ foreground app via service on Android 2.3 (API 9) and above.
so, minimum SDK will be Android 4.0 (API 14).
<br/>Since v2.0.0, it uses [AndroidX](https://developer.android.com/jetpack/androidx/) so, first
[migrate](https://developer.android.com/jetpack/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 @@ -36,7 +38,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-engine:4.0.0'
implementation 'com.pranavpandey.android:dynamic-engine:4.1.0'
// For legacy projects.
implementation 'com.pranavpandey.android:dynamic-engine:1.3.0'
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ ext {
mavenGroup = 'com.pranavpandey.android'
mavenDir = 'com/pranavpandey/android'
mavenArtifactId = 'dynamic-engine'
mavenInceptionYear = 2017
mavenVersion = '4.0.0'
mavenVersionCode = 25
mavenInceptionYear = '2017'
mavenVersion = '4.1.0'
mavenVersionCode = 26

developerId = 'pranavpandey'
developerName = 'Pranav Pandey'
Expand Down
5 changes: 5 additions & 0 deletions dynamic-engine/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-engine/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

0 comments on commit b104d59

Please sign in to comment.