Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for jna (0.03 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/DifferentJnaVersionInPluginIntegrationSpec.groovy

    import org.gradle.test.preconditions.UnitTestPreconditions
    
    class DifferentJnaVersionInPluginIntegrationSpec extends AbstractIntegrationSpec {
        @Requires(UnitTestPreconditions.NotMacOsM1)
        def 'can build a plugin with a different jna version'() {
            given:
            buildScript """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJnaIntegrationTest.groovy

        @Requires(UnitTestPreconditions.Windows)
        def canRunTestsUsingJna() {
            given:
            file('src/test/java/OkTest.java') << """
                ${testFrameworkImports}
                import com.sun.jna.platform.win32.Shell32;
    
                public class OkTest {
                    @Test
                    public void ok() {
                        assert Shell32.INSTANCE != null;
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/ImplementationDependencyRelocator.java

                || !mustBeRelocated(resource);
        }
    
        private final List<String> mustRelocateList = Arrays.asList(
            // In order to use a newer version of jna the resources must not be available in the old location
            "com/sun/jna",
            "org/apache/groovy",
            // JGit properties work from their relocated locations and conflict if they are left in place.
            "org/eclipse/jgit");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

                'scala3-library_3-3.0.1.', 'scala-asm-9.1.0-scala-1', 'compiler-interface-1.3.5', 'jline-reader-3.19.0.',
                'jline-terminal-jna-3.19.0', 'jline-terminal-3.19.0.', 'scala-library-2.13.6', 'protobuf-java-3.7.0.', 'util-interface', 'jna-5.3.1'
            ]
            def scaladocLibsAndDeps = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.internal.nativeintegration.jna;
    
    import org.gradle.internal.nativeintegration.NativeIntegrationException;
    import org.gradle.internal.nativeintegration.NativeIntegrationUnavailableException;
    import org.gradle.internal.nativeintegration.ProcessEnvironment;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/AnsiConsoleUtil.java

                try {
                    return new WindowsAnsiPrintStream(new PrintStream(stream));
                } catch (Throwable ignore) {
                    // this happens when JNA is not in the path.. or
                    // this happens when the stdout is being redirected to a file.
                }
    
                // Use the ANSIOutputStream to strip out the ANSI escape sequences.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

    import org.gradle.internal.nativeintegration.filesystem.services.UnavailablePosixFiles;
    import org.gradle.internal.nativeintegration.jansi.JansiBootPathConfigurer;
    import org.gradle.internal.nativeintegration.jna.UnsupportedEnvironment;
    import org.gradle.internal.nativeintegration.network.HostnameLookup;
    import org.gradle.internal.nativeintegration.processenvironment.NativePlatformBackedProcessEnvironment;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DefaultGradleDistribution.groovy

        }
    
        @Override
        boolean worksWith(OperatingSystem os) {
            // 1.0-milestone-5 was broken where jna was not available
            //noinspection SimplifiableIfStatement
            if (isVersion("1.0-milestone-5")) {
                return os.isWindows() || os.isMacOsX() || os.isLinux();
            } else {
                return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val slf4jSimple = "org.slf4j:slf4j-simple"
        val snakeyaml = "org.yaml:snakeyaml"
        val testng = "org.testng:testng"
        val tomlj = "org.tomlj:tomlj"
        val trove4j = "org.jetbrains.intellij.deps:trove4j"
        val jna = "net.java.dev.jna:jna"
        val agp = "com.android.tools.build:gradle"
        val xbeanReflect = "org.apache.xbean:xbean-reflect"
        val xmlApis = "xml-apis:xml-apis"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. subprojects/distributions-dependencies/build.gradle.kts

            api(libs.tomlj)                 { version { strictly(tomljVersion) }}
            api(libs.trove4j)               { version { strictly("1.0.20200330") }}
            api(libs.jna)                   { version { strictly("5.12.1") }}
            // TODO upgrade this AGP version to recent version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top