Skip to content

Commit

Permalink
Merge pull request #10 from teogor/environment/ci-ksp-plugin-build
Browse files Browse the repository at this point in the history
Enable CI build
  • Loading branch information
teogor authored Feb 23, 2024
2 parents 525b3c9 + 4c83456 commit e8ad406
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 9 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/plugin-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Plugin CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

- name: Cache Gradle and wrapper
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Make Gradle executable
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build
1 change: 0 additions & 1 deletion examples/android-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
id("dev.teogor.querent")
id("dev.teogor.querent.gradle")
}

querent {
Expand Down
8 changes: 0 additions & 8 deletions gradle-plugin/api/gradle-plugin.api
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ public final class dev/teogor/querent/utils/LanguageCodeKt {

public final class dev/teogor/querent/utils/QuantityStrings : dev/teogor/querent/utils/Resources {
public static final field Companion Ldev/teogor/querent/utils/QuantityStrings$Companion;
public synthetic fun <init> (ILjava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;)V
public final fun component1 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;)Ldev/teogor/querent/utils/QuantityStrings;
Expand All @@ -184,7 +183,6 @@ public final class dev/teogor/querent/utils/QuantityStrings : dev/teogor/querent
public final fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final synthetic fun write$Self (Ldev/teogor/querent/utils/QuantityStrings;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
}

public final class dev/teogor/querent/utils/QuantityStrings$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand All @@ -207,7 +205,6 @@ public abstract interface class dev/teogor/querent/utils/Resources {

public final class dev/teogor/querent/utils/StringArray : dev/teogor/querent/utils/Resources {
public static final field Companion Ldev/teogor/querent/utils/StringArray$Companion;
public synthetic fun <init> (ILjava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;)V
public final fun component1 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;)Ldev/teogor/querent/utils/StringArray;
Expand All @@ -216,7 +213,6 @@ public final class dev/teogor/querent/utils/StringArray : dev/teogor/querent/uti
public final fun getId ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final synthetic fun write$Self (Ldev/teogor/querent/utils/StringArray;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
}

public final class dev/teogor/querent/utils/StringArray$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand All @@ -241,7 +237,6 @@ public final class dev/teogor/querent/utils/StringExtensionsKt {

public final class dev/teogor/querent/utils/StringValue : dev/teogor/querent/utils/Resources {
public static final field Companion Ldev/teogor/querent/utils/StringValue$Companion;
public synthetic fun <init> (ILjava/lang/String;Ljava/util/List;Ljava/util/List;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
Expand All @@ -255,7 +250,6 @@ public final class dev/teogor/querent/utils/StringValue : dev/teogor/querent/uti
public final fun getPlaceholders ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final synthetic fun write$Self (Ldev/teogor/querent/utils/StringValue;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
}

public final class dev/teogor/querent/utils/StringValue$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand All @@ -275,7 +269,6 @@ public final class dev/teogor/querent/utils/StringValue$Companion {

public final class dev/teogor/querent/utils/Values {
public static final field Companion Ldev/teogor/querent/utils/Values$Companion;
public synthetic fun <init> (IZLjava/util/List;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V
public fun <init> (ZLjava/util/List;Ljava/lang/String;)V
public synthetic fun <init> (ZLjava/util/List;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Z
Expand All @@ -289,7 +282,6 @@ public final class dev/teogor/querent/utils/Values {
public final fun getElements ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
public static final synthetic fun write$Self (Ldev/teogor/querent/utils/Values;Lkotlinx/serialization/encoding/CompositeEncoder;Lkotlinx/serialization/descriptors/SerialDescriptor;)V
}

public final class dev/teogor/querent/utils/Values$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
Expand Down

0 comments on commit e8ad406

Please sign in to comment.