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:
@@ -0,0 +1,11 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url System.getProperty("org.nixos.gradle2nix.m2")
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.apache:test:1.0.0'
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.apache:test:1.0.0")
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
maven {
|
||||
url = uri(System.getProperty("org.nixos.gradle2nix.m2"))
|
||||
isAllowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
||||
}
|
||||
Reference in New Issue
Block a user