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:
13
fixtures/projects/included-build/groovy/build.gradle
Normal file
13
fixtures/projects/included-build/groovy/build.gradle
Normal file
@@ -0,0 +1,13 @@
|
||||
apply plugin: 'java'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.test.included:included-child'
|
||||
implementation 'org.apache:test:1.0.0'
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
apply plugin: 'java-library'
|
||||
group = 'org.test.included'
|
||||
version = '1.0'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.apache:foo:1.0.0'
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.apache:foo:2.0.0'
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = 'included-child'
|
||||
1
fixtures/projects/included-build/groovy/settings.gradle
Normal file
1
fixtures/projects/included-build/groovy/settings.gradle
Normal file
@@ -0,0 +1 @@
|
||||
includeBuild 'included-child'
|
||||
Reference in New Issue
Block a user