Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Re-writing Grip Build to be Strongly Typed #860

Conversation

JLLeitschuh
Copy link
Member

Work in progress

@codecov-io
Copy link

codecov-io commented Aug 5, 2017

Codecov Report

Merging #860 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #860      +/-   ##
============================================
- Coverage     51.45%   51.43%   -0.03%     
  Complexity     1146     1146              
============================================
  Files           247      247              
  Lines          7956     7956              
  Branches        531      531              
============================================
- Hits           4094     4092       -2     
- Misses         3677     3678       +1     
- Partials        185      186       +1

@JLLeitschuh JLLeitschuh changed the title Begin re-writing UI build to use Gradle Kotlin DSL Re-writing Grip Build to be Strongly Typed Aug 5, 2017

idea {
module {
scopes["PROVIDED"]?.get("plus")?.add(ideProviderConfiguration)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JacisNonsense is this the correct conversion of the code you had originally?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe so. That should make it all available to IDEA

}
}

fun setupTestSharedLib() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole thing needs to be tested. I couldn't get it to work on my machine.

]
}
mainClassName = jfx.mainClass
// task testSharedLib() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This task was never configured right. It actually does nothing and all of the exec statements would be run immediately (I think).

I left this here to help me figure out if I ported it wrong.

}

evaluationDependsOn(":core")
evaluationDependsOn(":ui:preloader")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this could be done better since I understand this better now.

}
val coreProject = project(":core")
dependencies {
compile(project(path = ":core", configuration = "shadow"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could get rid of this extra level of complexity if we were to fully remove the deployer.

Copy link
Member

@JaciBrunning JaciBrunning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants