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:
11
fixtures/projects/dependency/classifier/groovy/build.gradle
Normal file
11
fixtures/projects/dependency/classifier/groovy/build.gradle
Normal file
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.badlogicgames.gdx:gdx-platform:1.9.9:natives-desktop'
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.badlogicgames.gdx:gdx-platform:1.9.9:natives-desktop")
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
println(uri(System.getProperty("org.nixos.gradle2nix.m2")))
|
||||
isAllowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform("io.micrometer:micrometer-bom:1.5.1"))
|
||||
implementation("io.micrometer:micrometer-core")
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
plugins {
|
||||
id "java"
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
allowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.apache:test-SNAPSHOT1:2.0.2-SNAPSHOT"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
isAllowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
"implementation"("org.apache:test-SNAPSHOT1:2.0.2-SNAPSHOT")
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.anuken:packr:-SNAPSHOT'
|
||||
}
|
||||
14
fixtures/projects/dependency/snapshot/groovy/build.gradle
Normal file
14
fixtures/projects/dependency/snapshot/groovy/build.gradle
Normal file
@@ -0,0 +1,14 @@
|
||||
plugins {
|
||||
id "java"
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
allowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.apache:test-SNAPSHOT2:2.0.2-SNAPSHOT"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
isAllowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
"implementation"("org.apache:test-SNAPSHOT2:2.0.2-SNAPSHOT")
|
||||
}
|
||||
Reference in New Issue
Block a user