Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Try (0.16 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
                FileInputStream inputStream = new FileInputStream(repoFile);
                try {
                    ObjectInputStream objInputStream = new ObjectInputStream(new BufferedInputStream(inputStream));
                    classes.clear();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  2. Development.md

    The suggestions are displayed in the separate "Try"- section of the console output.
    The suggestions are collected in the `BuildExceptionReporter` and printed to the console.
    
    In some cases, you still want to keep the old behavior and display the suggestions in the error message.
    
    ### Add custom suggestions
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 06 22:54:40 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            String url = DEFAULT_DOWNLOAD_URL;
            if(mavenWrapperPropertyFile.exists()) {
                FileInputStream mavenWrapperPropertyFileInputStream = null;
                try {
                    mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
                    Properties mavenWrapperProperties = new Properties();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            groovyImplicitImportPackages.add("groovy.util.");
            groovyImplicitTypes.add("java.math.BigDecimal");
            groovyImplicitTypes.add("java.math.BigInteger");
    
            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

        fun configureKotlinCompilerIoForWindowsSupport() =
            org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback()
    }
    
    
    private
    inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) =
        try {
            action(this)
        } finally {
            Disposer.dispose(this)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            appendFileContentsTo(document.head(), "<style>", releaseNotesCss, "</style>");
        }
    
        private void appendFileContentsTo(Element element, String open, File file, String close) {
            try (FileReader reader = new FileReader(file)) {
                element.append(open + CharStreams.toString(reader) + close);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            }
        }
    
        def generateDocForType(Document document, DslDocModel model, ClassMetaDataRepository<ClassLinkMetaData> linkRepository, gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc) {
            try {
                //classDoc renderer renders the content of the class and also links to properties/methods
                new ClassDocRenderer(new LinkRenderer(document, model)).mergeContent(classDoc, document.documentElement)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  8. build-logic-commons/build-platform/build.gradle.kts

    val isGroovy4 = VersionNumber.parse(groovyVersion).major >= 4
    val codenarcVersion = if (isGroovy4) "3.1.0-groovy-4.0" else "3.1.0"
    val spockVersion = if (isGroovy4) "2.2-groovy-4.0" else "2.2-groovy-3.0"
    val asmVersion = "9.7"
    // To try out better kotlin compilation avoidance and incremental compilation
    // with -Pkotlin.incremental.useClasspathSnapshot=true
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 05:34:03 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

                apiTypesBySourceName.computeIfAbsent(sourceName) {
                    apiTypeFor(sourceName, classBytes)
                }!!
            }.map { it() }
        }
    
        override fun close() =
            try {
                repository.close()
            } finally {
                closed = true
            }
    
        private
        fun apiTypeFor(sourceName: String, classBytes: () -> ByteArray): () -> ApiType = {
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            if (currentlyBuilding.contains(className)) {
                throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding")
            }
            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
                if (!classMetaData) {
                    if (!className.contains('.internal.')) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
Back to top