mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
WIP
This commit is contained in:
10
fixtures/included-build/groovy/build.gradle
Normal file
10
fixtures/included-build/groovy/build.gradle
Normal file
@@ -0,0 +1,10 @@
|
||||
apply plugin: 'java'
|
||||
|
||||
repositories {
|
||||
maven { url = uri(System.getProperty("org.nixos.gradle2nix.m2")) }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.test.included:included-child'
|
||||
implementation 'org.apache:test:1.0.0'
|
||||
}
|
||||
11
fixtures/included-build/groovy/included-child/build.gradle
Normal file
11
fixtures/included-build/groovy/included-child/build.gradle
Normal file
@@ -0,0 +1,11 @@
|
||||
apply plugin: 'java-library'
|
||||
group = 'org.test.included'
|
||||
version = '1.0'
|
||||
|
||||
repositories {
|
||||
maven { url = uri(System.getProperty("org.nixos.gradle2nix.m2")) }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.apache:foo:1.0.0'
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url = uri(System.getProperty("org.nixos.gradle2nix.m2")) }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.apache:foo:2.0.0'
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = 'included-child'
|
||||
1
fixtures/included-build/groovy/settings.gradle
Normal file
1
fixtures/included-build/groovy/settings.gradle
Normal file
@@ -0,0 +1 @@
|
||||
includeBuild 'included-child'
|
||||
Reference in New Issue
Block a user