Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bundles/testdata/workspaces/001/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# bazelmod is enabled by default in bazel 7, but we are not ready yet
common --noenable_bzlmod
6 changes: 6 additions & 0 deletions bundles/testdata/workspaces/001/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
load("@rules_java//java:defs.bzl", "java_library")

java_library(
name = "async_commit_example",
srcs = glob([
"*.java",
"async_commit_example/*.java",
"async_commit_example/annotations/*.java",
]),
deps = [
],
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the next step is to add some assertions to

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.project.server.examples.async_commit_example;

import com.project.server.examples.async_commit_example.annotations.RandomMessageGenSub0;
import com.project.server.examples.async_commit_example.annotations.RandomMessageGenSub1;


public class ExampleDaemon {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.project.server.examples.async_commit_example.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;

@Retention(RetentionPolicy.RUNTIME)
@Target({METHOD, PARAMETER})
public @interface RandomMessageGenSub0 {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.project.server.examples.async_commit_example.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;

@Retention(RetentionPolicy.RUNTIME)
@Target({METHOD, PARAMETER})
public @interface RandomMessageGenSub1 {
}
Loading