diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 17:09:04 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-03-31 17:09:04 +0200 |
commit | 1c53c64e212b2373d8243a1dc2df242ee2f1a079 (patch) | |
tree | 34d0a7871634886ec24d4e6769b7cc412bb1cb54 /core/src/main | |
parent | e28279d0195e99d834fb4155618f0f3ceffbb0d2 (diff) | |
download | dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.tar.gz dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.tar.bz2 dokka-1c53c64e212b2373d8243a1dc2df242ee2f1a079.zip |
Ant task initialized paths before a project was set for it. Resolves #59
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/ant/dokka.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/ant/dokka.kt b/core/src/main/kotlin/ant/dokka.kt index f7441463..7ca402e8 100644 --- a/core/src/main/kotlin/ant/dokka.kt +++ b/core/src/main/kotlin/ant/dokka.kt @@ -27,10 +27,10 @@ class DokkaAntTask(): Task() { var skipDeprecated: Boolean = false - val compileClasspath: Path = Path(getProject()) - val sourcePath: Path = Path(getProject()) - val samplesPath: Path = Path(getProject()) - val includesPath: Path = Path(getProject()) + val compileClasspath: Path by lazy { Path(getProject()) } + val sourcePath: Path by lazy { Path(getProject()) } + val samplesPath: Path by lazy { Path(getProject()) } + val includesPath: Path by lazy { Path(getProject()) } val antSourceLinks: MutableList<AntSourceLinkDefinition> = arrayListOf() |