美文网首页
groovy-doc

groovy-doc

作者: 泠泉 | 来源:发表于2019-04-16 15:19 被阅读0次

    Apache Groovy document


    @Value('${report.properties.reportURL}') #重点,单引号
    private String reportURL

    gpars #重点


    3 Data Parallelism
    5 Actors

    java project add groovy compile support


    <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.1</version>
        <configuration>
            <compilerId>groovy-eclipse-compiler</compilerId>
            <verbose>true</verbose>
            <fork>true</fork>
            <compilerArguments>
                <javaAgentClass>lombok.launch.Agent</javaAgentClass>
            </compilerArguments>
        </configuration>
        <dependencies>
            <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy-eclipse-compiler</artifactId>
                <version>2.9.2-01</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy-eclipse-batch</artifactId>
                <version>2.4.3-01</version>
            </dependency>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>1.16.18</version>
            </dependency>
        </dependencies>
    </plugin>
    

    相关文章

      网友评论

          本文标题:groovy-doc

          本文链接:https://www.haomeiwen.com/subject/uypbwqtx.html