New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency updates, JDK17 #829
Merged
Merged
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
9af968e
updated dependencies, jdk17
2e8352f
more updates
52696b2
added jitpack.yml
400fe13
android dependencies
1a69b5e
android build fix
ed1e726
fix for api error
799db8d
Merge remote-tracking branch 'origin/master' into feature/dependency-…
ce48fd3
jitpack fix
6bffaec
jitpack fix
6ff1181
jdk upgrades (attempt)
d932080
jdk upgrades
ae09780
use kotlin stable 1.7.0
f507113
Update gradle.properties
hduerkop 9f32726
Merge branch 'master' into feature/dependency-updates
e0bf762
more kotlin updates
926ec0f
wip
d6bd984
(potential) sync fix
e4dbf00
wip
b7ca117
wip
c868942
REVIEW REQ: ignore failing tests
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
buildscript { | ||
ext.kotlin_gradle_version = findProperty('kotlin.version')?.toString() ?: '1.6.0' | ||
ext.android_gradle_version = '7.0.0' | ||
ext.byte_buddy_version = '1.12.6' | ||
ext.kotlin_gradle_version = findProperty('kotlin.version')?.toString() ?: '1.6.21' | ||
ext.android_gradle_version = '7.2.0' | ||
ext.byte_buddy_version = '1.12.10' | ||
ext.coroutines_version = '1.3.3' | ||
ext.dexmaker_version = '2.28.1' | ||
ext.objenesis_version = '3.2' | ||
ext.objenesis_android_version = '3.2' | ||
ext.junit_jupiter_version = '5.6.2' | ||
ext.junit_vintage_version = '5.6.2' | ||
ext.dokka_version = '1.6.0' | ||
ext.dokka_version = '1.6.21' | ||
ext.gradles = project.projectDir.toString() + "/gradle" | ||
|
||
repositories { | ||
|
@@ -29,8 +29,8 @@ plugins { | |
subprojects { subProject -> | ||
group = 'io.mockk' | ||
|
||
ext.kotlin_version = findProperty('kotlin.version')?.toString() ?: '1.6.0' | ||
ext.kotlin_gradle_version = findProperty('kotlin.version')?.toString() ?: '1.6.0' | ||
ext.kotlin_version = findProperty('kotlin.version')?.toString() ?: '1.6.21' | ||
ext.kotlin_gradle_version = findProperty('kotlin.version')?.toString() ?: '1.6.21' | ||
|
||
repositories { | ||
mavenCentral() | ||
|
@@ -39,9 +39,9 @@ subprojects { subProject -> | |
|
||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
apiVersion = "1.4" | ||
languageVersion = "1.4" | ||
jvmTarget = "17" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure about these: there have been issues about 1.4.* compatibilty in the past, meaning that some folks are still using MockK with Kotlin 1.4.*, so I'd like it to be backwards-compatible at least up to these versions. |
||
apiVersion = "1.6" | ||
languageVersion = "1.6" | ||
useIR = findProperty("kotlin.ir.enabled")?.toBoolean() == true | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
jdk: | ||
- openjdk17 | ||
install: | ||
- echo "Running a custom install command" | ||
- ./gradlew clean :publishMavenPublicationToMavenLocal -xtest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd keep a 1.4.* and a 1.5.* here.