diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 0000000..3702bcc --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,13 @@ +name: 'Auto Author Assign' + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v1.2.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/build.gradle.kts b/build.gradle.kts index 06a4d1d..dc399c6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { id("maven") id("java") - id("org.jetbrains.kotlin.jvm") version "1.4.21" + kotlin("jvm") version "1.4.21" id("org.jlleitschuh.gradle.ktlint") version "9.4.1" id("jacoco") } @@ -13,22 +13,11 @@ java { sourceCompatibility = JavaVersion.VERSION_1_8 } -buildscript { - repositories { - mavenCentral() - } - - dependencies { - classpath(kotlin("gradle-plugin")) - } -} - repositories { mavenCentral() } dependencies { - implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") implementation(kotlin("reflect")) // https://mvnrepository.com/artifact/org.jetbrains/annotations compileOnly(group = "org.jetbrains", name = "annotations", version = "20.1.0")