-
-
Notifications
You must be signed in to change notification settings - Fork 27
refactor: Restructure project to a more conventional Android architecture #70
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
base: dev
Are you sure you want to change the base?
Conversation
| - name: Download Schema via Introspection | ||
| run: | | ||
| chmod +x ./gradlew && ./gradlew :api:downloadServiceApolloSchemaFromIntrospection | ||
| chmod +x ./gradlew |
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.
You dont need to run chmod +x gradlew. It already has executable flag set
build-logic/convention/src/main/kotlin/dev/materii/gloom/KotlinAndroid.kt
Outdated
Show resolved
Hide resolved
build-logic/convention/src/main/kotlin/dev/materii/gloom/KotlinAndroid.kt
Outdated
Show resolved
Hide resolved
core/graphql/src/main/kotlin/dev/materii/gloom/core/graphql/response/GraphQLResponse.kt
Show resolved
Hide resolved
|
|
||
| import com.apollographql.apollo.api.Optional | ||
|
|
||
| fun <T> T?.toOptional(): Optional<T> = Optional.presentIfNotNull(this) No newline at end of file |
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.
Maybe this should be inline
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 get yelled at for it not having significant performance benefits
| rootProject.name = "Gloom" | ||
| include(":app") | ||
|
|
||
| enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") |
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 think this should be at the very top, since it's enabling a global feature
settings.gradle.kts
Outdated
| } | ||
|
|
||
| rootProject.name = "Gloom" | ||
| include(":app") |
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.
app is included twice
- Switch to jvmToolchain - Allow using existing plugin declarations from version catalog as compileOnly
Uh oh!
There was an error while loading. Please reload this page.