mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
Rewrite plugin, use filenames in lockfile
This commit is contained in:
17
fixtures/projects/s3/maven-snapshot/groovy/build.gradle
Normal file
17
fixtures/projects/s3/maven-snapshot/groovy/build.gradle
Normal file
@@ -0,0 +1,17 @@
|
||||
plugins {
|
||||
id('java')
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url "s3://repositories/m2"
|
||||
credentials(AwsCredentials) {
|
||||
accessKey "foo"
|
||||
secretKey "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.apache:test-SNAPSHOT1:2.0.0-SNAPSHOT")
|
||||
}
|
||||
18
fixtures/projects/s3/maven-snapshot/kotlin/build.gradle.kts
Normal file
18
fixtures/projects/s3/maven-snapshot/kotlin/build.gradle.kts
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("s3://repositories/m2")
|
||||
credentials(AwsCredentials::class) {
|
||||
accessKey = "foo"
|
||||
secretKey = "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.apache:test-SNAPSHOT1:2.0.0-SNAPSHOT")
|
||||
}
|
||||
19
fixtures/projects/s3/maven/groovy/build.gradle
Normal file
19
fixtures/projects/s3/maven/groovy/build.gradle
Normal file
@@ -0,0 +1,19 @@
|
||||
package projects.s3.maven.groovy
|
||||
|
||||
plugins {
|
||||
id('java')
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url "s3://repositories/m2"
|
||||
credentials(AwsCredentials) {
|
||||
accessKey "foo"
|
||||
secretKey "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.apache:test:1.0.0")
|
||||
}
|
||||
1
fixtures/projects/s3/maven/groovy/settings.gradle
Normal file
1
fixtures/projects/s3/maven/groovy/settings.gradle
Normal file
@@ -0,0 +1 @@
|
||||
package projects.s3.maven.groovy
|
||||
17
fixtures/projects/s3/maven/kotlin/build.gradle.kts
Normal file
17
fixtures/projects/s3/maven/kotlin/build.gradle.kts
Normal file
@@ -0,0 +1,17 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("s3://repositories/m2")
|
||||
credentials(AwsCredentials::class) {
|
||||
accessKey = "foo"
|
||||
secretKey = "bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.apache:test:1.0.0")
|
||||
}
|
||||
Reference in New Issue
Block a user