Support programmatic configuration of Kotlin plugin #26

Closed
cbeams opened this Issue May 30, 2016 · 1 comment

Projects

None yet

2 participants

@cbeams
Member
cbeams commented May 30, 2016 edited

When this work is complete, it will eliminate the current need for a static gradle.ktscfg.xml (#19) file to be generated (by generateKtsConfig) at the root of each project.

The general idea is to expose a configuration API on the Kotlin plugin side and to then integrate with it via the Gradle Tooling API.

@cbeams cbeams added this to the 1.0.0-M2 milestone May 30, 2016
@cbeams cbeams added -u and removed -u labels May 30, 2016
@cbeams cbeams changed the title from ligee to Support programmatic configuration of Kotlin plugin May 30, 2016
@ligee ligee was assigned by cbeams May 30, 2016
@cbeams
Member
cbeams commented Jun 13, 2016

@ligee, could you provide an update on this? We're considering cutting M2 on Monday the 20th (a couple days earlier than planned). Can this issue still make it?

@bamboo bamboo added a commit that closed this issue Jun 20, 2016
@bamboo bamboo Merge branch 'update-kotlin-plugin'
* update-kotlin-plugin: (24 commits)
  Compute source roots from Gradle installation dir
  Save IDEA daemon properties when "idea.active"
  Use `ProjectConnection` from context
  Extract method
  Add groovy to the classpath
  Polish `KotlinBuildScriptModelPlugin`
  Replace `getModel(T)` by `model(T).get()` so java home can be hard-coded
  Favor expression body
  Provide IDE classpath via custom TAPI model
  ⬆️ Kotlin@1.1.0-dev-1159
  Favor expression body
  Simplify samples/README instructions
  Do not ignore ktscfg xml files
  Remove no longer necessary `org.gradle.script.lang.kotlin.*` imports
  Remove unused annotation
  Fix buildscript classpath computation after Kotlin update
  Return wrapper version to gsk custom distro
  Add sources to script dependencies
  Switch to latest dev version of kotlin on bintray repo
  Update depenedcy resolver to interface changes
  ...

Resolves #26
Resolves #33
Resolves #43
Unblocks #55
Resolves #57
Resolves #64
Resolves #76
2ed5c20
@bamboo bamboo closed this in 2ed5c20 Jun 20, 2016
@cbeams cbeams added a commit that referenced this issue Jun 20, 2016
@cbeams cbeams Remove generateKtsConfig and patchIdeaConfig tasks
These tasks are obsolete as of the resolution of #26 and #43.

Resolves #79
4251247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment