diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3eecf6a..c8ddef3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,6 +7,6 @@ updates: open-pull-requests-limit: 10 - package-ecosystem: gradle - directory: "/dependabot/" + directory: "/" schedule: interval: daily diff --git a/build.gradle.kts b/build.gradle.kts index e48ce37..8878986 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -93,20 +93,4 @@ tasks.withType { tasks.withType { gradleVersion = "6.7" -} - -tasks.register("createDependabotFile") { - doLast { - mkdir("$projectDir/dependabot") - val file = File("$projectDir/dependabot/build.gradle") - file.writeText( "// Do not edit manually! This file was created by the 'createDependabotFile' task defined in the root build.gradle.kts file.\n") - file.appendText("dependencies {\n") - project.configurations.getByName("runtimeClasspath").allDependencies - .filter { it.group != rootProject.name && it.version != null } - .forEach { file.appendText(" compile '${it.group}:${it.name}:${it.version}'\n") } - project.configurations.getByName("testRuntimeClasspath").allDependencies - .filter { it.group != rootProject.name && it.version != null } - .forEach { file.appendText(" testCompile '${it.group}:${it.name}:${it.version}'\n") } - file.appendText("}\n") - } -} +} \ No newline at end of file diff --git a/dependabot/build.gradle b/dependabot/build.gradle deleted file mode 100644 index 17b73b0..0000000 --- a/dependabot/build.gradle +++ /dev/null @@ -1,29 +0,0 @@ -// Do not edit manually! This file was created by the 'createDependabotFile' task defined in the root build.gradle.kts file. -dependencies { - compile 'no.nav.helse:dusseldorf-ktor-core:1.5.0.3315e68' - compile 'no.nav.helse:dusseldorf-ktor-jackson:1.5.0.3315e68' - compile 'no.nav.helse:dusseldorf-ktor-metrics:1.5.0.3315e68' - compile 'no.nav.helse:dusseldorf-ktor-health:1.5.0.3315e68' - compile 'no.nav.helse:dusseldorf-ktor-auth:1.5.0.3315e68' - compile 'io.ktor:ktor-locations:1.5.0' - compile 'no.nav.helse:dusseldorf-ktor-client:1.5.0.3315e68' - compile 'no.nav.helse:dusseldorf-oauth2-client:1.5.0.3315e68' - compile 'io.lettuce:lettuce-core:5.3.5.RELEASE' - compile 'com.github.fppt:jedis-mock:0.1.16' - compile 'org.apache.kafka:kafka-clients:2.4.0' - testCompile 'no.nav.helse:dusseldorf-test-support:1.5.0.3315e68' - testCompile 'no.nav:kafka-embedded-env:2.4.0' - testCompile 'io.ktor:ktor-server-test-host:1.5.0' - testCompile 'org.skyscreamer:jsonassert:1.5.0' - testCompile 'no.nav.helse:dusseldorf-ktor-core:1.5.0.3315e68' - testCompile 'no.nav.helse:dusseldorf-ktor-jackson:1.5.0.3315e68' - testCompile 'no.nav.helse:dusseldorf-ktor-metrics:1.5.0.3315e68' - testCompile 'no.nav.helse:dusseldorf-ktor-health:1.5.0.3315e68' - testCompile 'no.nav.helse:dusseldorf-ktor-auth:1.5.0.3315e68' - testCompile 'io.ktor:ktor-locations:1.5.0' - testCompile 'no.nav.helse:dusseldorf-ktor-client:1.5.0.3315e68' - testCompile 'no.nav.helse:dusseldorf-oauth2-client:1.5.0.3315e68' - testCompile 'io.lettuce:lettuce-core:5.3.5.RELEASE' - testCompile 'com.github.fppt:jedis-mock:0.1.16' - testCompile 'org.apache.kafka:kafka-clients:2.4.0' -}