资源简介

官网下载不成功的,嫌官网下载速度慢的,可以直接在这里下载。 官网原下载地址: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  2015-10-20 05:54  gradle-2.8\
     目录           0  2015-10-20 05:54  gradle-2.8\bin\
     文件        4961  2015-10-20 05:48  gradle-2.8\bin\gradle
     文件        2394  2015-10-20 05:48  gradle-2.8\bin\gradle.bat
     文件         105  2015-10-15 14:08  gradle-2.8\changelog.txt
     目录           0  2015-10-20 05:54  gradle-2.8\docs\
     目录           0  2015-10-20 05:51  gradle-2.8\docs\dsl\
     文件      867322  2015-10-20 05:51  gradle-2.8\docs\dsl\base.css
     文件        2090  2015-10-20 05:51  gradle-2.8\docs\dsl\docs.css
     文件           0  2015-10-20 05:48  gradle-2.8\docs\dsl\dsl-standalone.html
     文件        2477  2015-10-20 05:51  gradle-2.8\docs\dsl\dsl.css
     文件       75350  2015-10-20 05:51  gradle-2.8\docs\dsl\index.html
     文件       14091  2015-10-20 05:51  gradle-2.8\docs\dsl\javadoc.css
     文件       25663  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.ComponentSelection.html
     文件       41242  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.ComponentSelectionRules.html
     文件       67119  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.Configuration.html
     文件       37060  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.ConfigurationContainer.html
     文件       33802  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.DependencySubstitutions.html
     文件       29830  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.dsl.ArtifactHandler.html
     文件       37584  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.dsl.ComponentmetadataHandler.html
     文件       27909  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.dsl.ComponentModulemetadataHandler.html
     文件       55470  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.dsl.DependencyHandler.html
     文件       54445  2015-10-20 05:49  gradle-2.8\docs\dsl\org.gradle.api.artifacts.dsl.RepositoryHandler.html
     文件       32050  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.query.ArtifactResolutionQuery.html
     文件       25982  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.ArtifactRepository.html
     文件       38693  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.AuthenticationContainer.html
     文件       34342  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.AuthenticationSupported.html
     文件       51184  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.IvyArtifactRepository.html
     文件       26427  2015-10-20 05:51  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.IvyArtifactRepositorymetaDataProvider.html
     文件       38917  2015-10-20 05:51  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.MavenArtifactRepository.html
     文件       25924  2015-10-20 05:50  gradle-2.8\docs\dsl\org.gradle.api.artifacts.repositories.PasswordCredentials.html
............此处省略12560个文件信息

评论

共有 条评论