Skip to content

Commit 567fecb

Browse files
authored
feat: separate native-image-shared-config into its own module (#712)
* feat: separate out native image shared configs into their own artifact
1 parent 328d0a4 commit 567fecb

File tree

8 files changed

+955
-825
lines changed

8 files changed

+955
-825
lines changed

.kokoro/client-library-check-javadoc-with-doclet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -x
88
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q
99

1010
# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT'
11-
VERSION_POM=pom.xml
11+
VERSION_POM=java-shared-config/pom.xml
1212
# Namespace (xmlns) prevents xmllint from specifying tag names in XPath
1313
VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -`
1414

.kokoro/client-library-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cd ${scriptDir}/..
4040
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=true -B -V -q
4141

4242
# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT'
43-
VERSION_POM=pom.xml
43+
VERSION_POM=java-shared-config/pom.xml
4444
# Namespace (xmlns) prevents xmllint from specifying tag names in XPath
4545
VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -`
4646

.kokoro/verify-docker-images.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ scriptDir=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
2121
cd ${scriptDir}/.. || exit
2222

2323
# Fetch the java-shared-config version in source of the current commit.
24+
pushd java-shared-config
2425
javaSharedConfigVersion="$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
26+
popd
2527

2628
branchName=$(git name-rev "${KOKORO_GIT_COMMIT}" | sed 's/.* //')
2729
gitCommitMessage=$(git log -1 "$(git rev-parse --short "${KOKORO_GIT_COMMIT}")" | grep "chore(main): release *")

java-shared-config/java.header

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
^/\*$
2+
^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$
3+
^ \*$
4+
^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$
5+
^ \* you may not use this file except in compliance with the License\.$
6+
^ \* You may obtain a copy of the License at$
7+
^ \*$
8+
^ \*[ ]+https?://www.apache.org/licenses/LICENSE-2\.0$
9+
^ \*$
10+
^ \* Unless required by applicable law or agreed to in writing, software$
11+
^ \* distributed under the License is distributed on an "AS IS" BASIS,$
12+
^ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.$
13+
^ \* See the License for the specific language governing permissions and$
14+
^ \* limitations under the License\.$
15+
^ \*/$
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4+
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5+
<module name="Checker">
6+
<module name="RegexpHeader">
7+
<property name="fileExtensions" value="java"/>
8+
<property name="headerFile" value="${checkstyle.header.file}"/>
9+
</module>
10+
</module>

0 commit comments

Comments
 (0)