Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Script plugins can use static project extension accessors #432

Closed
bamboo opened this issue Jul 20, 2017 · 5 comments
Closed

Script plugins can use static project extension accessors #432

bamboo opened this issue Jul 20, 2017 · 5 comments

Comments

@bamboo
Copy link
Member

bamboo commented Jul 20, 2017

// plugin.gradle.kts
plugins {
  java
}

java {
  sourceCompatibility = JavaVersion.VERSION_1_7
}

Implementation notes

The plugins must not rely on the global environment in any way because they are going to be applied to a separate, synthetic project which won't share any information with the original.

@jaredsburrows
Copy link
Contributor

This will be great :)

@bamboo bamboo changed the title Script plugins can use project accessors Script plugins can use static project extension accessors Aug 29, 2017
@bamboo bamboo modified the milestones: 1.0.0, 0.12.0 Sep 5, 2017
@jaredsburrows
Copy link
Contributor

@bamboo Is this supported yet?

@bamboo
Copy link
Member Author

bamboo commented Nov 4, 2017

No, not yet.

@JLLeitschuh
Copy link
Contributor

because they are going to be applied to a separate, synthetic project which won't share any information with the original

Can you explain this a bit better?

@bamboo bamboo removed this from the 1.0.0 milestone Jan 18, 2018
@jaredsburrows
Copy link
Contributor

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants