Skip to content

Commit

Permalink
#85 Missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed May 30, 2021
1 parent 4796b7d commit be24b23
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@ package net.nemerosa.versioning.tasks

import net.nemerosa.versioning.VersionInfo
import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.OutputFile
import org.gradle.api.tasks.TaskAction

class VersionFileTask extends DefaultTask {

/**
* File to write the information info. Defaults to <code>new File(project.buildDir, 'version.properties')</code>.
*/
@OutputFile
File file = new File(project.buildDir, 'version.properties')

/**
* Prefix to apply. Defauts to <code>VERSION_</code>
*/
@Input
String prefix = 'VERSION_'

/**
Expand Down

0 comments on commit be24b23

Please sign in to comment.