资源简介

官网下载不成功的,可以直接在这里下载。 原地址:https://services.gradle.org/distributions/

资源截图

代码片段和文件信息

package org.gradle;

import java.io.StringReader;
import org.junit.Test;
import static org.junit.Assert.*;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.ANTLRStringStream;
public class GrammarTest {
    @Test
    public void canUseGeneratedGrammar() throws Exception {
        ANTLRStringStream in = new ANTLRStringStream(“1+2“);
        CalculatorLexer lexer = new CalculatorLexer(in);
        CommonTokenStream tokens = new CommonTokenStream(lexer);
        CalculatorParser parser = new CalculatorParser(tokens);
        parser.add();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-06-07 16:05  gradle-2.14-rc-5\
     文件      877292  2016-06-07 15:59  gradle-2.14-rc-5\getting-started.html
     文件       51522  2015-12-18 17:40  gradle-2.14-rc-5\LICENSE
     目录           0  2015-12-18 17:40  gradle-2.14-rc-5\init.d\
     文件          99  2015-12-18 17:40  gradle-2.14-rc-5\init.d\readme.txt
     文件         806  2015-12-18 17:40  gradle-2.14-rc-5\NOTICE
     文件         117  2015-12-18 17:40  gradle-2.14-rc-5\changelog.txt
     目录           0  2015-12-18 17:40  gradle-2.14-rc-5\media\
     文件       80027  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-512x512.png
     文件        3387  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-16x16.png
     文件      241431  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle.icns
     文件       12804  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-128x128.png
     文件       31871  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-256x256.png
     文件        5934  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-48x48.png
     文件        3887  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-24x24.png
     文件        6455  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-64x64.png
     文件        4348  2015-12-18 17:40  gradle-2.14-rc-5\media\gradle-icon-32x32.png
     目录           0  2016-06-07 16:05  gradle-2.14-rc-5\bin\
     文件        2400  2016-06-07 15:59  gradle-2.14-rc-5\bin\gradle.bat
     文件        5042  2016-06-07 15:59  gradle-2.14-rc-5\bin\gradle
     目录           0  2016-06-07 16:05  gradle-2.14-rc-5\lib\
     文件      373693  2016-06-07 15:59  gradle-2.14-rc-5\lib\gradle-launcher-2.14-rc-5.jar
     文件       26315  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-wrapper-2.14-rc-5.jar
     文件        1426  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-installation-beacon-2.14-rc-5.jar
     文件      268120  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-base-services-2.14-rc-5.jar
     文件        3229  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-jvm-services-2.14-rc-5.jar
     文件     2038130  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-core-2.14-rc-5.jar
     文件       27258  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-cli-2.14-rc-5.jar
     文件      408211  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-ui-2.14-rc-5.jar
     文件      379858  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-tooling-api-2.14-rc-5.jar
     文件       43791  2016-06-07 15:58  gradle-2.14-rc-5\lib\gradle-native-2.14-rc-5.jar
............此处省略13737个文件信息

评论

共有 条评论