Skip to content

Commit

Permalink
gizmo wip
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Aug 25, 2024
1 parent de1c43a commit e147b97
Show file tree
Hide file tree
Showing 13 changed files with 606 additions and 83 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/develocity.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .mvn/develocity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<buildScan>
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
<publishing>
<onlyIf><![CDATA[authenticated]]></onlyIf>
<onlyIf><![CDATA[authenticated && isTrue(env['CI'])]]></onlyIf>
</publishing>
<obfuscation>
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
Expand Down
10 changes: 10 additions & 0 deletions build-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

<build>
<plugins>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -126,6 +131,11 @@
<groupId>com.google.devtools.ksp</groupId>
<artifactId>symbol-processing-aa-embeddable</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>com.squareup</groupId>
<artifactId>kotlinpoet-jvm</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion build-plugins/src/main/java/util/AsmBuilders.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class AsmBuilders extends AbstractMojo {
@SuppressWarnings("ConstantConditions")
public void execute() throws MojoExecutionException {
List<File> files = new ArrayList<>();
generated = new File(project.getBasedir() + "/target/generated-sources/morphia-annotations-asm/");
generated = new File(project.getBasedir() + "/target/generated-sources/morphia-annotations/");

String path = core() + "/src/main/java/dev/morphia/annotations";
files.addAll(find(path));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class KotlinAnnotationExtensions extends AbstractMojo {
@SuppressWarnings("ConstantConditions")
public void execute() throws MojoExecutionException {
List<File> files = new ArrayList<>();
generated = new File(project.getBasedir() + "/target/generated-sources/morphia-annotations-kotlin/");
generated = new File(project.getBasedir() + "/target/generated-sources/morphia-annotations/");

String path = core() + "/src/main/java/dev/morphia/annotations";
files.addAll(find(path));
Expand Down
Loading

0 comments on commit e147b97

Please sign in to comment.