资源简介

官网下载不成功的,可以直接在这里下载。 官网原下载地址: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  2017-01-03 15:36  gradle-3.3\
     文件       51625  2016-12-23 00:00  gradle-3.3\LICENSE
     目录           0  2016-12-23 00:00  gradle-3.3\media\
     文件        3387  2016-12-23 00:00  gradle-3.3\media\gradle-icon-16x16.png
     文件        3887  2016-12-23 00:00  gradle-3.3\media\gradle-icon-24x24.png
     文件      241431  2016-12-23 00:00  gradle-3.3\media\gradle.icns
     文件       80027  2016-12-23 00:00  gradle-3.3\media\gradle-icon-512x512.png
     文件        4348  2016-12-23 00:00  gradle-3.3\media\gradle-icon-32x32.png
     文件       12804  2016-12-23 00:00  gradle-3.3\media\gradle-icon-128x128.png
     文件        6455  2016-12-23 00:00  gradle-3.3\media\gradle-icon-64x64.png
     文件       31871  2016-12-23 00:00  gradle-3.3\media\gradle-icon-256x256.png
     文件        5934  2016-12-23 00:00  gradle-3.3\media\gradle-icon-48x48.png
     目录           0  2016-12-23 00:00  gradle-3.3\init.d\
     文件          99  2016-12-23 00:00  gradle-3.3\init.d\readme.txt
     文件         802  2016-12-23 00:00  gradle-3.3\NOTICE
     文件      877522  2017-01-03 15:32  gradle-3.3\getting-started.html
     目录           0  2017-01-03 15:36  gradle-3.3\bin\
     文件        2250  2017-01-03 15:32  gradle-3.3\bin\gradle.bat
     文件        5289  2017-01-03 15:32  gradle-3.3\bin\gradle
     目录           0  2017-01-03 15:36  gradle-3.3\lib\
     文件      349685  2017-01-03 15:32  gradle-3.3\lib\gradle-script-kotlin-0.5.1.jar
     文件    24196002  2017-01-03 15:32  gradle-3.3\lib\kotlin-compiler-embeddable-1.1-M02.jar
     文件     2659867  2017-01-03 15:32  gradle-3.3\lib\kotlin-reflect-1.1-M02.jar
     文件      194304  2017-01-03 15:32  gradle-3.3\lib\kotlin-runtime-1.1-M02.jar
     文件      608567  2017-01-03 15:32  gradle-3.3\lib\kotlin-stdlib-1.1-M02.jar
     文件      425996  2017-01-03 15:31  gradle-3.3\lib\gradle-launcher-3.3.jar
     文件       27280  2017-01-03 15:31  gradle-3.3\lib\gradle-wrapper-3.3.jar
     文件        1420  2017-01-03 15:31  gradle-3.3\lib\gradle-installation-beacon-3.3.jar
     文件      304786  2017-01-03 15:31  gradle-3.3\lib\gradle-base-services-3.3.jar
     文件        4346  2017-01-03 15:31  gradle-3.3\lib\gradle-jvm-services-3.3.jar
     文件     2311335  2017-01-03 15:31  gradle-3.3\lib\gradle-core-3.3.jar
............此处省略12690个文件信息

评论

共有 条评论