Home
last modified time | relevance | path

Searched +full:- +full:- +full:google +full:- +full:java +full:- +full:format +full:- +full:jar (Results 1 – 25 of 101) sorted by relevance

12345

/external/robolectric/.github/workflows/
Dcheck_code_formatting.yml5 branches: [ master, 'robolectric-*.x' ]
6 paths-ignore:
7 - '**.md'
10 branches: [ master, google ]
11 paths-ignore:
12 - '**.md'
19 runs-on: ubuntu-20.04
22 - uses: actions/checkout@v3
24 fetch-depth: 0
26 - name: Set up JDK 11
[all …]
/external/opencensus-java/buildscripts/kokoro/
Dlinux_presubmit.sh8 # This script assumes `set -e`. Removing it may lead to undefined behavior.
9 set -exu -o pipefail
11 # It would be nicer to use 'readlink -f' here but osx does not support it.
14 # cd to the root dir of opencensus-java
20 echo "- BUILD"
21 echo "- BUILD_EXAMPLES_BAZEL"
22 echo "- BUILD_EXAMPLES_GRADLE"
23 echo "- BUILD_EXAMPLES_MAVEN"
24 echo "- CHECKER_FRAMEWORK"
25 echo "- CHECK_EXAMPLES_FORMAT"
[all …]
/external/opencensus-java/scripts/
Dtravis_script4 # https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps.
6 set -o errexit
7 set -o xtrace
11 python "$(dirname "$0")"/check-git-history.py
20 ./gradlew clean assemble check --stacktrace
24 ./gradlew clean assemble --stacktrace
25 ./gradlew check :opencensus-all:jacocoTestReport
31 # See https://github.com/gradle/gradle/issues/2421#issuecomment-319916874.
33 ./gradlew clean assemble --stacktrace
44 # https://docs.travis-ci.com/user/reference/osx/#JDK-and-OS-X
[all …]
/external/ktfmt/
DREADME.md5 …is a program that pretty-prints (formats) Kotlin code, based on [google-java-format](https://githu…
14 | ---- | ---- |
20 | ------ | --------|
28 [ktfmt IntelliJ plugin](https://plugins.jetbrains.com/plugin/14912-ktfmt)
42 triggered from the `Code` menu or with the Ctrl-Alt-L (by default) keyboard
47 [`.editorconfig` file](https://www.jetbrains.com/help/idea/configuring-code-style.html#editorconfig)
54 ### from the command-line
60 java -jar /path/to/ktfmt-<VERSION>-jar-with-dependencies.jar [--dropbox-style] [files...]
63 `--dropbox-style` makes `ktfmt` use a block indent of 4 spaces instead of 2. See below for details.
66 formatting (apart from `--dropbox-style`). This is a deliberate design decision to unify our code
[all …]
/external/google-java-format/
DREADME.md1 # google-java-format chapter
3 `google-java-format` is a program that reformats Java source code to comply with
4 [Google Java Style][].
6 [Google Java Style]: https://google.github.io/styleguide/javaguide.html
10 ### from the command-line
12 [Download the formatter](https://github.com/google/google-java-format/releases)
16 java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [files...]
19 The formatter can act on whole files, on limited lines (`--lines`), on specific
20 offsets (`--offset`), passing through to standard-out (default) or altered
21 in-place (`--replace`).
[all …]
Dpom.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Copyright 2015 Google Inc.
9 ~ http://www.apache.org/licenses/LICENSE-2.0
16 -->
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <groupId>com.google.googlejavaformat</groupId>
24 <artifactId>google-java-format-parent</artifactId>
26 <version>HEAD-SNAPSHOT</version>
[all …]
/external/conscrypt/
D.travis.yml5 - BORINGSSL_HOME="$HOME/boringssl"
6 - CXXFLAGS="-std=c++11"
7 - GOOGLE_JAVA_FORMAT_VERSION=1.1
11 - $HOME/.gradle/caches/
12 - $HOME/.gradle/wrapper/dists/
19 - os: linux
23 - ANDROID_TOOLS_URL="https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip"
24 - ANDROID_HOME="$HOME/android-sdk-linux"
25 - JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
26 - JAVA11_HOME=/usr/lib/jvm/java-11-openjdk-amd64
[all …]
/external/google-java-format/scripts/
Dgoogle-java-format-diff.py3 #===- google-java-format-diff.py - google-java-format Diff Reformatter -----===#
10 #===------------------------------------------------------------------------===#
13 google-java-format Diff Reformatter
20 git diff -U0 HEAD^ | google-java-format-diff.py -p1 -i
21 svn diff --diff-cmd=diff -x-U0 | google-java-format-diff.py -i
25 P4DIFF="git --no-pager diff --no-index" p4 diff | ./google-java-format-diff.py -i -p7
40 'Reformat changed lines in diff. Without -i '
43 parser.add_argument('-i', action='store_true', default=False,
46 parser.add_argument('-p', metavar='NUM', default=0,
48 parser.add_argument('-regex', metavar='PATTERN', default=None,
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dzip_output_unittest.sh3 # Protocol Buffers - Google's data interchange format
4 # Copyright 2009 Google Inc. All rights reserved.
5 # https://developers.google.com/protocol-buffers/
17 # * Neither the name of Google Inc. nor the names of its
33 # Author: kenton@google.com (Kenton Varda)
44 JAR=jar
50 option java_package = "test.jar";
57 --cpp_out=$TEST_TMPDIR/testzip.zip --python_out=$TEST_TMPDIR/testzip.zip \
58 --java_out=$TEST_TMPDIR/testzip.jar -I$TEST_TMPDIR testzip.proto \
62 if $UNZIP -h > /dev/null; then
[all …]
/external/jarjar/res/com/tonicsystems/jarjar/
Dhelp.txt1 Jar Jar Links - A utility to repackage and embed Java libraries
2 Copyright 2007 Google Inc.
4 Command-line usage:
6 java -jar jarjar.jar [help]
10 java -jar jarjar.jar strings <cp>
15 java -jar jarjar.jar find <level> <cp1> [<cp2>]
20 The level argument must be "class" or "jar". The former prints
22 prints jar->jar dependencies. A "jar" in this context is actually
23 any classpath component, which can be a jar file, a zip file, or a
26 java -jar jarjar.jar process <rulesFile> <inJar> <outJar>
[all …]
/external/google-java-format/eclipse_plugin/META-INF/
DMANIFEST.MF1 Manifest-Version: 1.0
2 Bundle-ManifestVersion: 2
3 Bundle-Name: google-java-format
4 Bundle-SymbolicName: google-java-format-eclipse-plugin;singleton:=true
5 Bundle-Vendor: Google
6 Bundle-Version: 1.13.0
7 Bundle-RequiredExecutionEnvironment: JavaSE-11
8 Require-Bundle: org.eclipse.jdt.core;bundle-version="3.10.0",
13 Bundle-ClassPath: .,
14 lib/guava.jar,
[all …]
/external/google-java-format/.github/workflows/
Drelease.yml1 name: Release google-java-format
11 build-maven-jars:
12 runs-on: ubuntu-latest
16 - name: Setup Signing Key
18 gpg-agent --daemon --default-cache-ttl 7200
19 echo -e "${{ secrets.GPG_SIGNING_KEY }}" | gpg --batch --import --no-tty
21 …gpg --detach-sig --yes -v --output=/dev/null --pinentry-mode loopback --passphrase "${{ secrets.GP…
23 gpg --list-secret-keys --keyid-format LONG
25 - name: Checkout
28 - name: Set up JDK
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPathResolver.java2 * Copyright 2016, Google Inc.
15 * Neither the name of Google Inc. nor the names of its
34 import com.google.common.base.Joiner;
35 import com.google.common.base.Splitter;
36 import com.google.common.collect.Lists;
47 import java.io.File;
48 import java.io.IOException;
49 import java.util.List;
62 …* device paths (e.g. "/system/framework/framework.jar"). The entry wil…
115 if (entry.endsWith(".jar")) { in ClassPathResolver()
[all …]
/external/dagger2/util/
Ddeploy-hilt.sh3 set -eu
13 # @param {string} srcjar the sources jar of the library. This is an optional
15 # @param {string} javadoc the java doc jar of the library. This is an optional
22 bash $(dirname $0)/deploy-library.sh \
33 java/dagger/hilt/android/artifact.aar \
34 java/dagger/hilt/android/pom.xml \
35 java/dagger/hilt/android/artifact-src.jar \
36 java/dagger/hilt/android/artifact-javadoc.jar
39 java/dagger/hilt/android/testing/artifact.aar \
40 java/dagger/hilt/android/testing/pom.xml \
[all …]
/external/google-java-format/core/
Dpom.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Copyright 2015 Google Inc.
9 ~ http://www.apache.org/licenses/LICENSE-2.0
16 -->
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <groupId>com.google.googlejavaformat</groupId>
24 <artifactId>google-java-format-parent</artifactId>
25 <version>HEAD-SNAPSHOT</version>
[all …]
/external/opencensus-java/
Dbuild.gradle10 classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.6'
11 classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.16'
12 classpath "net.ltgt.gradle:gradle-apt-plugin:0.18"
13 classpath 'com.github.ben-manes:gradle-versions-plugin:0.20.0'
14 …classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.…
15 classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.7"
16 classpath "gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.7.0"
21 // Also see https://github.com/ben-manes/gradle-versions-plugin.
22 apply plugin: 'com.github.ben-manes.versions'
33 apply plugin: 'java'
[all …]
/external/vogar/src/vogar/android/
DAndroidSdk.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import com.google.common.annotations.VisibleForTesting;
20 import java.io.File;
21 import java.io.FileInputStream;
22 import java.io.FileOutputStream;
23 import java.io.IOException;
24 import java.util.ArrayList;
25 import java.util.Collection;
26 import java.util.Collections;
27 import java.util.List;
[all …]
/external/apache-commons-compress/src/site/xdoc/
Dlimitations.xml2 <!--
10 http://www.apache.org/licenses/LICENSE-2.0
17 -->
26 format they apply to.</p>
32 …href="https://docs.oracle.com/javase/10/docs/api/java/io/InputStream.html#skip(long)"><code>skip</…
45 <li>the format requires the otherwise optional <a
46 href="https://tukaani.org/xz/java.html">XZ for Java</a>
52 <code>ArchiveStreamFactory</code> will not auto-detect 7z
62 <li>No support for multi-volume archives</li>
66 href="https://tukaani.org/xz/java.html">XZ for Java</a>
[all …]
/external/grpc-grpc-java/
Dbuild.gradle7 classpath "com.diffplug.spotless:spotless-plugin-gradle:3.13.0"
8 classpath 'com.google.gradle:osdetector-gradle-plugin:1.4.0'
9 classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.5'
10 classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.0.13'
11 classpath 'net.ltgt.gradle:gradle-apt-plugin:0.13'
12 classpath "me.champeau.gradle:jmh-gradle-plugin:0.4.5"
13 classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.2.5'
19 apply plugin: "java"
26 apply plugin: "com.google.osdetector"
29 // jdk10 not supported by errorprone: https://github.com/google/error-prone/issues/860
[all …]
/external/oss-fuzz/infra/base-images/base-runner/
Dcoverage1 #!/bin/bash -u
2 # Copyright 2018 Google Inc.
8 # http://www.apache.org/licenses/LICENSE-2.0
22 FUZZ_TARGETS="$(find . -maxdepth 1 -type f -executable -printf '%P\n' | \
23 grep -v -x -F \
24 -e 'llvm-symbolizer' \
25 -e 'jazzer_agent_deploy.jar' \
26 -e 'jazzer_driver' \
27 -e 'jazzer_driver_with_sanitizer')"
30 COVERAGE_OUTPUT_DIR=${COVERAGE_OUTPUT_DIR:-$OUT}
[all …]
/external/dokka/
DREADME.md4 **_Note_: This is Google's fork of Dokka, customized for [Android API reference docs](https://devel…
5 on [developer.android.com](https://developer.android.com/) and other Google products.**
7 Dokka is a documentation engine for Kotlin, performing the same function as javadoc for Java.
8 Just like Kotlin itself, Dokka fully supports mixed-language Java/Kotlin projects. It understands
9 standard Javadoc comments in Java files and [KDoc comments](https://kotlinlang.org/docs/reference/k…
23 classpath "org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}"
57 // http://kotlinlang.org/docs/reference/kotlin-doc.html#module-and-package-documentation
66 // to enable package-list caching
85 classpath = [new File("$buildDir/other.jar")]
109 url = "https://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin"
[all …]
/external/ktfmt/core/
Dpom.xml1 <?xml version="1.0" encoding="UTF-8"?>
3 …//www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http:/…
13 <artifactId>ktfmt-parent</artifactId>
34 <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
35 <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
39 <artifactId>kotlin-maven-plugin</artifactId>
50 <sourceDir>${project.basedir}/src/main/java</sourceDir>
56 <id>test-compile</id>
58 <goal>test-compile</goal>
62 <sourceDir>${project.basedir}/src/test/java</sourceDir>
[all …]
/external/mobly-bundled-snippets/
Dbuild.gradle4 google()
14 id "com.github.sherter.google-java-format" version "0.9"
19 google()
24 options.compilerArgs << "-Xlint:all"
36 applicationId "com.google.android.mobly.snippet.bundled"
42 setProperty("archivesBaseName", "mobly-bundled-snippets")
57 // Produces a jar of source files. Needed for compliance reasons.
58 task sourcesJar(type: Jar) {
59 from android.sourceSets.main.java.srcDirs
64 source = android.sourceSets.main.java.srcDirs
[all …]
/external/robolectric/preinstrumented/src/main/java/org/robolectric/preinstrumented/
DJarInstrumentor.java3 import com.google.common.io.ByteStreams;
4 import java.io.BufferedOutputStream;
5 import java.io.File;
6 import java.io.FileOutputStream;
7 import java.io.IOException;
8 import java.io.InputStream;
9 import java.util.Enumeration;
10 import java.util.Locale;
11 import java.util.Properties;
12 import java.util.jar.JarEntry;
[all …]
/external/google-java-format/eclipse_plugin/
DREADME.md1 # Google Java Format Eclipse Plugin
5 See https://github.com/google/google-java-format#eclipse
12 tycho-versions:update-eclipse-metadata` to update the bundle version in
13 `META-INF/MANIFEST.MF`.
21 `mvn clean install -Dtycho.localArtifacts=ignore` instead. Note, however, that you then must use
24 [p2-local-metadata.properties](https://wiki.eclipse.org/Tycho/Target_Platform#Locally_built_artifac…
26 outdated build artifact created by a previous build instead of re-building the plugin. More
28 [in this thread](https://www.eclipse.org/lists/tycho-user/msg00952.html) and
32 `eclipse_plugin/target/google-java-format-eclipse-plugin-<version>.jar`
37 artifacts of the google java format core from the maven repository and copies it

12345