-
Notifications
You must be signed in to change notification settings - Fork 102
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
revert jdk target to 1.8 #1133
revert jdk target to 1.8 #1133
Conversation
5154adf
to
b3979e9
Compare
@@ -13,12 +15,12 @@ android { | |||
compileSdk = libsCatalog.version("compileSdk").toInt() | |||
|
|||
compileOptions { | |||
sourceCompatibility = JavaVersion.VERSION_17 | |||
targetCompatibility = JavaVersion.VERSION_17 | |||
sourceCompatibility = javaTargetVersion |
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.
Do we really need to change sourceCompatilibity
too? Will that, say, prevent us using language features that aren't actually supported?
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.
That's correct keeping them in sync will prevent us from inadvertently using Java language features that don't exist in the target environment.
@@ -44,3 +27,48 @@ fun DependencyHandler.kotlin( | |||
module: String, | |||
version: String? = null | |||
): Any = "org.jetbrains.kotlin:kotlin-$module${version?.let { ":$version" } ?: ""}" | |||
|
|||
/** | |||
* the jdk used in packaging |
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.
Isn't this redundant w/kgx?
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 thought it was, but sadly no. The catalog entry/property names are unique to individual projects.
No description provided.